Lines Matching refs:shadow_frame

150                             ShadowFrame& shadow_frame,  in MoveToExceptionHandler()  argument
160 if (shadow_frame.GetForcePopFrame()) { in MoveToExceptionHandler()
167 uint32_t found_dex_pc = shadow_frame.GetMethod()->FindCatchBlock( in MoveToExceptionHandler()
168 hs.NewHandle(exception->GetClass()), shadow_frame.GetDexPC(), &clear_exception); in MoveToExceptionHandler()
171 if (shadow_frame.NeedsNotifyPop()) { in MoveToExceptionHandler()
172 instrumentation->WatchedFramePopped(self, shadow_frame); in MoveToExceptionHandler()
173 if (shadow_frame.GetForcePopFrame()) { in MoveToExceptionHandler()
183 shadow_frame.GetThisObject(), in MoveToExceptionHandler()
184 shadow_frame.GetMethod(), in MoveToExceptionHandler()
185 shadow_frame.GetDexPC()); in MoveToExceptionHandler()
187 return shadow_frame.GetForcePopFrame(); in MoveToExceptionHandler()
189 shadow_frame.SetDexPC(found_dex_pc); in MoveToExceptionHandler()
195 return MoveToExceptionHandler(self, shadow_frame, instrumentation); in MoveToExceptionHandler()
206 void UnexpectedOpcode(const Instruction* inst, const ShadowFrame& shadow_frame) { in UnexpectedOpcode() argument
208 << inst->DumpString(shadow_frame.GetMethod()->GetDexFile()); in UnexpectedOpcode()
237 ShadowFrame& shadow_frame,
255 ShadowFrame* shadow_frame, in ArtInterpreterToCompiledCodeBridge() argument
259 ArtMethod* method = shadow_frame->GetMethod(); in ArtInterpreterToCompiledCodeBridge()
264 self->PushShadowFrame(shadow_frame); in ArtInterpreterToCompiledCodeBridge()
276 method = shadow_frame->GetMethod(); in ArtInterpreterToCompiledCodeBridge()
287 DCHECK_LE(arg_offset, shadow_frame->NumberOfVRegs()); in ArtInterpreterToCompiledCodeBridge()
294 method->Invoke(self, shadow_frame->GetVRegArgs(arg_offset), in ArtInterpreterToCompiledCodeBridge()
295 (shadow_frame->NumberOfVRegs() - arg_offset) * sizeof(uint32_t), in ArtInterpreterToCompiledCodeBridge()
299 void SetStringInitValueToAllAliases(ShadowFrame* shadow_frame, in SetStringInitValueToAllAliases() argument
303 ObjPtr<mirror::Object> existing = shadow_frame->GetVRegReference(this_obj_vreg); in SetStringInitValueToAllAliases()
308 shadow_frame->SetVRegReference(this_obj_vreg, result.GetL()); in SetStringInitValueToAllAliases()
312 for (uint32_t i = 0, e = shadow_frame->NumberOfVRegs(); i < e; ++i) { in SetStringInitValueToAllAliases()
313 if (shadow_frame->GetVRegReference(i) == existing) { in SetStringInitValueToAllAliases()
314 DCHECK_EQ(shadow_frame->GetVRegReference(i), in SetStringInitValueToAllAliases()
315 reinterpret_cast32<mirror::Object*>(shadow_frame->GetVReg(i))); in SetStringInitValueToAllAliases()
316 shadow_frame->SetVRegReference(i, result.GetL()); in SetStringInitValueToAllAliases()
317 DCHECK_EQ(shadow_frame->GetVRegReference(i), in SetStringInitValueToAllAliases()
318 reinterpret_cast32<mirror::Object*>(shadow_frame->GetVReg(i))); in SetStringInitValueToAllAliases()
325 ShadowFrame& shadow_frame, in DoMethodHandleInvokeCommon() argument
349 ObjPtr<mirror::MethodHandle>::DownCast(shadow_frame.GetVRegReference(vRegC)))); in DoMethodHandleInvokeCommon()
367 class_linker->ResolveMethodType(self, callsite_proto_id, shadow_frame.GetMethod()))); in DoMethodHandleInvokeCommon()
385 shadow_frame, in DoMethodHandleInvokeCommon()
392 shadow_frame, in DoMethodHandleInvokeCommon()
408 shadow_frame, in DoMethodHandleInvokeCommon()
415 shadow_frame, in DoMethodHandleInvokeCommon()
425 ShadowFrame& shadow_frame, in DoMethodHandleInvokeExact() argument
432 self, shadow_frame, /* invoke_exact= */ true, inst, inst_data, result); in DoMethodHandleInvokeExact()
437 self, shadow_frame, /* invoke_exact= */ true, inst, inst_data, result); in DoMethodHandleInvokeExact()
442 ShadowFrame& shadow_frame, in DoMethodHandleInvoke() argument
449 self, shadow_frame, /* invoke_exact= */ false, inst, inst_data, result); in DoMethodHandleInvoke()
454 self, shadow_frame, /* invoke_exact= */ false, inst, inst_data, result); in DoMethodHandleInvoke()
459 ShadowFrame& shadow_frame, in DoVarHandleInvokeCommon() argument
475 class_linker->ResolveMethodType(self, dex::ProtoIndex(vRegH), shadow_frame.GetMethod()))); in DoVarHandleInvokeCommon()
483 ObjPtr<mirror::Object> receiver(shadow_frame.GetVRegReference(vRegC)); in DoVarHandleInvokeCommon()
491 shadow_frame, in DoVarHandleInvokeCommon()
501 shadow_frame, in DoVarHandleInvokeCommon()
512 ShadowFrame& shadow_frame, \
517 return DoVarHandleInvokeCommon(self, shadow_frame, inst, inst_data, result, access_mode); \
556 ShadowFrame& shadow_frame, in DO_VAR_HANDLE_ACCESSOR()
564 self, invoke_method_idx, shadow_frame.GetMethod(), kPolymorphic); in DO_VAR_HANDLE_ACCESSOR()
573 return Do ## Name(self, shadow_frame, inst, inst_data, result); in DO_VAR_HANDLE_ACCESSOR()
891 ShadowFrame& shadow_frame, in InvokeBootstrapMethod() argument
900 ArtMethod* referrer = shadow_frame.GetMethod(); in InvokeBootstrapMethod()
1018 shadow_frame.GetDexPC()); in InvokeBootstrapMethod()
1025 hs.NewHandle(shadow_frame.GetMethod()->GetDeclaringClass()); in InvokeBootstrapMethod()
1100 ShadowFrame& shadow_frame, in DoResolveCallSite() argument
1104 Handle<mirror::DexCache> dex_cache(hs.NewHandle(shadow_frame.GetMethod()->GetDexCache())); in DoResolveCallSite()
1113 call_site = InvokeBootstrapMethod(self, shadow_frame, call_site_idx); in DoResolveCallSite()
1130 ShadowFrame& shadow_frame, in DoInvokeCustom() argument
1144 ObjPtr<mirror::CallSite> call_site = DoResolveCallSite(self, shadow_frame, call_site_idx); in DoInvokeCustom()
1156 shadow_frame, in DoInvokeCustom()
1164 static inline void AssignRegister(ShadowFrame* new_shadow_frame, const ShadowFrame& shadow_frame, in AssignRegister() argument
1168 uint32_t src_value = shadow_frame.GetVReg(src_reg); in AssignRegister()
1169 ObjPtr<mirror::Object> o = shadow_frame.GetVRegReference<kVerifyNone>(src_reg); in AssignRegister()
1207 ShadowFrame& shadow_frame, in DoCallCommon() argument
1292 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoCallCommon()
1325 new_shadow_frame->SetVRegReference(dest_reg, shadow_frame.GetVRegReference(receiver_reg)); in DoCallCommon()
1339 ObjPtr<mirror::Object> o = shadow_frame.GetVRegReference(src_reg); in DoCallCommon()
1371 (static_cast<uint64_t>(shadow_frame.GetVReg(src_reg + 1)) << BitSizeOf<uint32_t>()) | in DoCallCommon()
1372 static_cast<uint32_t>(shadow_frame.GetVReg(src_reg)); in DoCallCommon()
1381 new_shadow_frame->SetVReg(dest_reg, shadow_frame.GetVReg(src_reg)); in DoCallCommon()
1390 CopyRegisters<is_range>(shadow_frame, in DoCallCommon()
1401 shadow_frame.GetMethod(), in DoCallCommon()
1408 SetStringInitValueToAllAliases(&shadow_frame, string_init_vreg_this, *result); in DoCallCommon()
1415 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, in DoCall() argument
1433 called_method, self, shadow_frame, in DoCall()
1439 const ShadowFrame& shadow_frame, in DoFilledNewArray() argument
1455 shadow_frame.GetMethod(), in DoFilledNewArray()
1498 i, shadow_frame.GetVReg(src_reg)); in DoFilledNewArray()
1501 i, shadow_frame.GetVRegReference(src_reg)); in DoFilledNewArray()
1562 ShadowFrame& shadow_frame, \
1575 Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, \
1585 const ShadowFrame& shadow_frame, \