• Home
  • Raw
  • Download

Lines Matching refs:shadow_frame

237                             ShadowFrame& shadow_frame,  in ExecuteSwitch()  argument
242 self, accessor, shadow_frame, result_register, interpret_one_instruction); in ExecuteSwitch()
245 self, accessor, shadow_frame, result_register, interpret_one_instruction); in ExecuteSwitch()
253 ShadowFrame& shadow_frame, in Execute() argument
257 DCHECK(!shadow_frame.GetMethod()->IsAbstract()); in Execute()
258 DCHECK(!shadow_frame.GetMethod()->IsNative()); in Execute()
264 shadow_frame.SetNotifyDexPcMoveEvents( in Execute()
265 Runtime::Current()->GetInstrumentation()->NeedsDexPcEvents(shadow_frame.GetMethod(), self)); in Execute()
269 CHECK_EQ(shadow_frame.GetDexPC(), 0u); in Execute()
272 ArtMethod *method = shadow_frame.GetMethod(); in Execute()
277 !shadow_frame.GetForcePopFrame() && in Execute()
278 !shadow_frame.GetNotifyDexPcMoveEvents()) { in Execute()
281 jit->MethodEntered(self, shadow_frame.GetMethod()); in Execute()
291 ArtInterpreterToCompiledCodeBridge(self, nullptr, &shadow_frame, arg_offset, &result); in Execute()
293 self->PushShadowFrame(&shadow_frame); in Execute()
301 if (UNLIKELY(instrumentation->HasMethodEntryListeners() || shadow_frame.GetForcePopFrame())) { in Execute()
303 if (UNLIKELY(shadow_frame.GetForcePopFrame())) { in Execute()
309 shadow_frame, in Execute()
320 if (UNLIKELY(shadow_frame.GetForcePopFrame())) { in Execute()
323 shadow_frame, in Execute()
333 ArtMethod* method = shadow_frame.GetMethod(); in Execute()
344 self, accessor, shadow_frame, result_register, /*interpret_one_instruction=*/ false); in Execute()
390 ShadowFrame* shadow_frame = shadow_frame_unique_ptr.get(); in EnterInterpreterFromInvoke() local
395 shadow_frame->SetVRegReference(cur_reg, receiver); in EnterInterpreterFromInvoke()
406 shadow_frame->SetVRegReference(cur_reg, o); in EnterInterpreterFromInvoke()
411 shadow_frame->SetVRegLong(cur_reg, wide_value); in EnterInterpreterFromInvoke()
417 shadow_frame->SetVReg(cur_reg, args[arg_pos]); in EnterInterpreterFromInvoke()
422 if (!EnsureInitialized(self, shadow_frame)) { in EnterInterpreterFromInvoke()
425 self->PushShadowFrame(shadow_frame); in EnterInterpreterFromInvoke()
427 JValue r = Execute(self, accessor, *shadow_frame, JValue(), stay_in_interpreter); in EnterInterpreterFromInvoke()
436 args = shadow_frame->GetVRegArgs(method->IsStatic() ? 0 : 1); in EnterInterpreterFromInvoke()
454 ShadowFrame* shadow_frame, in EnterInterpreterFromDeoptimize() argument
464 while (shadow_frame != nullptr) { in EnterInterpreterFromDeoptimize()
467 DCHECK(!shadow_frame->GetMethod()->MustCountLocks()); in EnterInterpreterFromDeoptimize()
469 self->SetTopOfShadowStack(shadow_frame); in EnterInterpreterFromDeoptimize()
470 CodeItemDataAccessor accessor(shadow_frame->GetMethod()->DexInstructionData()); in EnterInterpreterFromDeoptimize()
471 const uint32_t dex_pc = shadow_frame->GetDexPC(); in EnterInterpreterFromDeoptimize()
480 *shadow_frame, in EnterInterpreterFromDeoptimize()
483 shadow_frame->GetDexPC() : in EnterInterpreterFromDeoptimize()
489 shadow_frame->GetForceRetryInstruction()) { in EnterInterpreterFromDeoptimize()
490 DCHECK(frame_cnt == 0 || shadow_frame->GetForceRetryInstruction()) in EnterInterpreterFromDeoptimize()
492 << " force-retry: " << shadow_frame->GetForceRetryInstruction(); in EnterInterpreterFromDeoptimize()
501 shadow_frame->SetForceRetryInstruction(false); in EnterInterpreterFromDeoptimize()
513 if (IsStringInit(*instr, shadow_frame->GetMethod())) { in EnterInterpreterFromDeoptimize()
519 SetStringInitValueToAllAliases(shadow_frame, this_obj_vreg, value); in EnterInterpreterFromDeoptimize()
548 shadow_frame->SetDexPC(new_dex_pc); in EnterInterpreterFromDeoptimize()
551 *shadow_frame, in EnterInterpreterFromDeoptimize()
556 ShadowFrame* old_frame = shadow_frame; in EnterInterpreterFromDeoptimize()
557 shadow_frame = shadow_frame->GetLink(); in EnterInterpreterFromDeoptimize()
570 ShadowFrame* shadow_frame) { in EnterInterpreterFromEntryPoint() argument
580 jit->NotifyCompiledCodeToInterpreterTransition(self, shadow_frame->GetMethod()); in EnterInterpreterFromEntryPoint()
582 return Execute(self, accessor, *shadow_frame, JValue()); in EnterInterpreterFromEntryPoint()
588 ShadowFrame* shadow_frame, in ArtInterpreterToInterpreterBridge() argument
596 self->PushShadowFrame(shadow_frame); in ArtInterpreterToInterpreterBridge()
598 if (LIKELY(!shadow_frame->GetMethod()->IsNative())) { in ArtInterpreterToInterpreterBridge()
599 result->SetJ(Execute(self, accessor, *shadow_frame, JValue()).GetJ()); in ArtInterpreterToInterpreterBridge()
604 bool is_static = shadow_frame->GetMethod()->IsStatic(); in ArtInterpreterToInterpreterBridge()
605 ObjPtr<mirror::Object> receiver = is_static ? nullptr : shadow_frame->GetVRegReference(0); in ArtInterpreterToInterpreterBridge()
606 uint32_t* args = shadow_frame->GetVRegArgs(is_static ? 0 : 1); in ArtInterpreterToInterpreterBridge()
607 UnstartedRuntime::Jni(self, shadow_frame->GetMethod(), receiver.Ptr(), args, result); in ArtInterpreterToInterpreterBridge()