Lines Matching refs:num_vregs
53 static size_t ComputeSize(uint32_t num_vregs) { in ComputeSize() argument
54 return sizeof(ShadowFrame) + (sizeof(uint32_t) * num_vregs) + in ComputeSize()
55 (sizeof(StackReference<mirror::Object>) * num_vregs); in ComputeSize()
59 static ShadowFrame* CreateDeoptimizedFrame(uint32_t num_vregs, ShadowFrame* link, in CreateDeoptimizedFrame() argument
61 uint8_t* memory = new uint8_t[ComputeSize(num_vregs)]; in CreateDeoptimizedFrame()
62 return CreateShadowFrameImpl(num_vregs, link, method, dex_pc, memory); in CreateDeoptimizedFrame()
74 #define CREATE_SHADOW_FRAME(num_vregs, link, method, dex_pc) ({ \ argument
75 size_t frame_size = ShadowFrame::ComputeSize(num_vregs); \
78 ShadowFrame::CreateShadowFrameImpl((num_vregs), (link), (method), (dex_pc), \
336 static ShadowFrame* CreateShadowFrameImpl(uint32_t num_vregs, in CreateShadowFrameImpl() argument
341 return new (memory) ShadowFrame(num_vregs, link, method, dex_pc, true); in CreateShadowFrameImpl()
365 ShadowFrame(uint32_t num_vregs, ShadowFrame* link, ArtMethod* method, in ShadowFrame() argument
372 number_of_vregs_(num_vregs), in ShadowFrame()
380 memset(vregs_, 0, num_vregs * (sizeof(uint32_t) + sizeof(StackReference<mirror::Object>))); in ShadowFrame()
382 memset(vregs_, 0, num_vregs * sizeof(uint32_t)); in ShadowFrame()