Lines Matching refs:shadow_frame
154 ShadowFrame& shadow_frame, in MoveToExceptionHandler() argument
164 if (shadow_frame.GetForcePopFrame()) { in MoveToExceptionHandler()
171 uint32_t found_dex_pc = shadow_frame.GetMethod()->FindCatchBlock( in MoveToExceptionHandler()
172 hs.NewHandle(exception->GetClass()), shadow_frame.GetDexPC(), &clear_exception); in MoveToExceptionHandler()
175 if (shadow_frame.NeedsNotifyPop()) { in MoveToExceptionHandler()
176 instrumentation->WatchedFramePopped(self, shadow_frame); in MoveToExceptionHandler()
177 if (shadow_frame.GetForcePopFrame()) { in MoveToExceptionHandler()
187 shadow_frame.GetThisObject(), in MoveToExceptionHandler()
188 shadow_frame.GetMethod(), in MoveToExceptionHandler()
189 shadow_frame.GetDexPC()); in MoveToExceptionHandler()
191 return shadow_frame.GetForcePopFrame(); in MoveToExceptionHandler()
193 shadow_frame.SetDexPC(found_dex_pc); in MoveToExceptionHandler()
199 return MoveToExceptionHandler(self, shadow_frame, instrumentation); in MoveToExceptionHandler()
210 void UnexpectedOpcode(const Instruction* inst, const ShadowFrame& shadow_frame) { in UnexpectedOpcode() argument
212 << inst->DumpString(shadow_frame.GetMethod()->GetDexFile()); in UnexpectedOpcode()
241 ShadowFrame& shadow_frame,
259 ShadowFrame* shadow_frame, in ArtInterpreterToCompiledCodeBridge() argument
263 ArtMethod* method = shadow_frame->GetMethod(); in ArtInterpreterToCompiledCodeBridge()
268 self->PushShadowFrame(shadow_frame); in ArtInterpreterToCompiledCodeBridge()
280 method = shadow_frame->GetMethod(); in ArtInterpreterToCompiledCodeBridge()
291 DCHECK_LE(arg_offset, shadow_frame->NumberOfVRegs()); in ArtInterpreterToCompiledCodeBridge()
298 method->Invoke(self, shadow_frame->GetVRegArgs(arg_offset), in ArtInterpreterToCompiledCodeBridge()
299 (shadow_frame->NumberOfVRegs() - arg_offset) * sizeof(uint32_t), in ArtInterpreterToCompiledCodeBridge()
303 void SetStringInitValueToAllAliases(ShadowFrame* shadow_frame, in SetStringInitValueToAllAliases() argument
307 ObjPtr<mirror::Object> existing = shadow_frame->GetVRegReference(this_obj_vreg); in SetStringInitValueToAllAliases()
312 shadow_frame->SetVRegReference(this_obj_vreg, result.GetL()); in SetStringInitValueToAllAliases()
316 for (uint32_t i = 0, e = shadow_frame->NumberOfVRegs(); i < e; ++i) { in SetStringInitValueToAllAliases()
317 if (shadow_frame->GetVRegReference(i) == existing) { in SetStringInitValueToAllAliases()
318 DCHECK_EQ(shadow_frame->GetVRegReference(i), in SetStringInitValueToAllAliases()
319 reinterpret_cast32<mirror::Object*>(shadow_frame->GetVReg(i))); in SetStringInitValueToAllAliases()
320 shadow_frame->SetVRegReference(i, result.GetL()); in SetStringInitValueToAllAliases()
321 DCHECK_EQ(shadow_frame->GetVRegReference(i), in SetStringInitValueToAllAliases()
322 reinterpret_cast32<mirror::Object*>(shadow_frame->GetVReg(i))); in SetStringInitValueToAllAliases()
329 ShadowFrame& shadow_frame, in DoMethodHandleInvokeCommon() argument
353 ObjPtr<mirror::MethodHandle>::DownCast(shadow_frame.GetVRegReference(vRegC)))); in DoMethodHandleInvokeCommon()
371 class_linker->ResolveMethodType(self, callsite_proto_id, shadow_frame.GetMethod()))); in DoMethodHandleInvokeCommon()
389 shadow_frame, in DoMethodHandleInvokeCommon()
396 shadow_frame, in DoMethodHandleInvokeCommon()
412 shadow_frame, in DoMethodHandleInvokeCommon()
419 shadow_frame, in DoMethodHandleInvokeCommon()
429 ShadowFrame& shadow_frame, in DoMethodHandleInvokeExact() argument
436 self, shadow_frame, /* invoke_exact= */ true, inst, inst_data, result); in DoMethodHandleInvokeExact()
441 self, shadow_frame, /* invoke_exact= */ true, inst, inst_data, result); in DoMethodHandleInvokeExact()
446 ShadowFrame& shadow_frame, in DoMethodHandleInvoke() argument
453 self, shadow_frame, /* invoke_exact= */ false, inst, inst_data, result); in DoMethodHandleInvoke()
458 self, shadow_frame, /* invoke_exact= */ false, inst, inst_data, result); in DoMethodHandleInvoke()
463 ShadowFrame& shadow_frame, in DoVarHandleInvokeCommon() argument
479 class_linker->ResolveMethodType(self, dex::ProtoIndex(vRegH), shadow_frame.GetMethod()))); in DoVarHandleInvokeCommon()
487 ObjPtr<mirror::Object> receiver(shadow_frame.GetVRegReference(vRegC)); in DoVarHandleInvokeCommon()
495 shadow_frame, in DoVarHandleInvokeCommon()
505 shadow_frame, in DoVarHandleInvokeCommon()
516 ShadowFrame& shadow_frame, \
521 return DoVarHandleInvokeCommon(self, shadow_frame, inst, inst_data, result, access_mode); \
560 ShadowFrame& shadow_frame, in DO_VAR_HANDLE_ACCESSOR()
568 self, invoke_method_idx, shadow_frame.GetMethod(), kPolymorphic); in DO_VAR_HANDLE_ACCESSOR()
577 return Do ## Name(self, shadow_frame, inst, inst_data, result); in DO_VAR_HANDLE_ACCESSOR()
895 ShadowFrame& shadow_frame, in InvokeBootstrapMethod() argument
904 ArtMethod* referrer = shadow_frame.GetMethod(); in InvokeBootstrapMethod()
1022 shadow_frame.GetDexPC()); in InvokeBootstrapMethod()
1029 hs.NewHandle(shadow_frame.GetMethod()->GetDeclaringClass()); in InvokeBootstrapMethod()
1104 ShadowFrame& shadow_frame, in DoResolveCallSite() argument
1108 Handle<mirror::DexCache> dex_cache(hs.NewHandle(shadow_frame.GetMethod()->GetDexCache())); in DoResolveCallSite()
1117 call_site = InvokeBootstrapMethod(self, shadow_frame, call_site_idx); in DoResolveCallSite()
1134 ShadowFrame& shadow_frame, in DoInvokeCustom() argument
1148 ObjPtr<mirror::CallSite> call_site = DoResolveCallSite(self, shadow_frame, call_site_idx); in DoInvokeCustom()
1160 shadow_frame, in DoInvokeCustom()
1168 static inline void AssignRegister(ShadowFrame* new_shadow_frame, const ShadowFrame& shadow_frame, in AssignRegister() argument
1172 uint32_t src_value = shadow_frame.GetVReg(src_reg); in AssignRegister()
1173 ObjPtr<mirror::Object> o = shadow_frame.GetVRegReference<kVerifyNone>(src_reg); in AssignRegister()
1211 ShadowFrame& shadow_frame, in DoCallCommon() argument
1296 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoCallCommon()
1329 new_shadow_frame->SetVRegReference(dest_reg, shadow_frame.GetVRegReference(receiver_reg)); in DoCallCommon()
1343 ObjPtr<mirror::Object> o = shadow_frame.GetVRegReference(src_reg); in DoCallCommon()
1375 (static_cast<uint64_t>(shadow_frame.GetVReg(src_reg + 1)) << BitSizeOf<uint32_t>()) | in DoCallCommon()
1376 static_cast<uint32_t>(shadow_frame.GetVReg(src_reg)); in DoCallCommon()
1385 new_shadow_frame->SetVReg(dest_reg, shadow_frame.GetVReg(src_reg)); in DoCallCommon()
1394 CopyRegisters<is_range>(shadow_frame, in DoCallCommon()
1405 shadow_frame.GetMethod(), in DoCallCommon()
1412 SetStringInitValueToAllAliases(&shadow_frame, string_init_vreg_this, *result); in DoCallCommon()
1419 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, in DoCall() argument
1437 called_method, self, shadow_frame, in DoCall()
1443 const ShadowFrame& shadow_frame, in DoFilledNewArray() argument
1459 shadow_frame.GetMethod(), in DoFilledNewArray()
1502 i, shadow_frame.GetVReg(src_reg)); in DoFilledNewArray()
1505 i, shadow_frame.GetVRegReference(src_reg)); in DoFilledNewArray()
1566 ShadowFrame& shadow_frame, \
1579 Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, \
1589 const ShadowFrame& shadow_frame, \