/art/runtime/interpreter/mterp/ |
D | mterp.cc | 164 ShadowFrame* shadow_frame, in MterpInvokeVirtual() argument 168 JValue* result_register = shadow_frame->GetResultRegister(); in MterpInvokeVirtual() 171 self, *shadow_frame, inst, inst_data, result_register) ? 1u : 0u; in MterpInvokeVirtual() 175 ShadowFrame* shadow_frame, in MterpInvokeSuper() argument 179 JValue* result_register = shadow_frame->GetResultRegister(); in MterpInvokeSuper() 182 self, *shadow_frame, inst, inst_data, result_register) ? 1u : 0u; in MterpInvokeSuper() 186 ShadowFrame* shadow_frame, in MterpInvokeInterface() argument 190 JValue* result_register = shadow_frame->GetResultRegister(); in MterpInvokeInterface() 193 self, *shadow_frame, inst, inst_data, result_register) ? 1u : 0u; in MterpInvokeInterface() 197 ShadowFrame* shadow_frame, in MterpInvokeDirect() argument [all …]
|
D | mterp_stub.cc | 43 ShadowFrame* shadow_frame, in ExecuteMterpImpl() argument 46 UNUSED(self); UNUSED(shadow_frame); UNUSED(code_item); UNUSED(result_register); in ExecuteMterpImpl()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 129 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, 159 static NO_INLINE void UnlockHeldMonitors(Thread* self, ShadowFrame* shadow_frame) in UnlockHeldMonitors() argument 161 DCHECK(shadow_frame->GetForcePopFrame()); in UnlockHeldMonitors() 163 if (kMonitorCounting && shadow_frame->GetMethod()->MustCountLocks()) { in UnlockHeldMonitors() 165 shadow_frame->GetLockCountData().VisitMonitors( in UnlockHeldMonitors() 169 DoMonitorExit<kMonitorCounting>(self, shadow_frame, *obj); in UnlockHeldMonitors() 173 verifier::MethodVerifier::FindLocksAtDexPc(shadow_frame->GetMethod(), in UnlockHeldMonitors() 174 shadow_frame->GetDexPC(), in UnlockHeldMonitors() 180 << shadow_frame->GetMethod()->PrettyMethod() << " at pc " in UnlockHeldMonitors() 181 << shadow_frame->GetDexPC(); in UnlockHeldMonitors() [all …]
|
D | unstarted_runtime.cc | 94 ShadowFrame* shadow_frame, in CharacterLowerUpper() argument 98 uint32_t int_value = static_cast<uint32_t>(shadow_frame->GetVReg(arg_offset)); in CharacterLowerUpper() 119 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToLowerCase() argument 120 CharacterLowerUpper(self, shadow_frame, result, arg_offset, true); in UnstartedCharacterToLowerCase() 124 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToUpperCase() argument 125 CharacterLowerUpper(self, shadow_frame, result, arg_offset, false); in UnstartedCharacterToUpperCase() 176 ShadowFrame* shadow_frame, in GetClassName() argument 179 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in GetClassName() 205 ShadowFrame* shadow_frame, in UnstartedClassForNameCommon() argument 210 ObjPtr<mirror::String> class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForNameCommon() [all …]
|
D | interpreter.cc | 250 ShadowFrame& shadow_frame, in Execute() argument 254 DCHECK(!shadow_frame.GetMethod()->IsAbstract()); in Execute() 255 DCHECK(!shadow_frame.GetMethod()->IsNative()); in Execute() 266 CHECK_EQ(shadow_frame.GetDexPC(), 0u); in Execute() 270 ArtMethod *method = shadow_frame.GetMethod(); in Execute() 274 shadow_frame.GetThisObject(accessor.InsSize()), in Execute() 277 if (UNLIKELY(shadow_frame.GetForcePopFrame())) { in Execute() 284 shadow_frame, in Execute() 294 shadow_frame.GetThisObject(accessor.InsSize()), in Execute() 298 if (UNLIKELY(shadow_frame.GetForcePopFrame())) { in Execute() [all …]
|
D | interpreter_switch_impl-inl.h | 60 shadow_frame, in CheckForceReturn() 77 bool skip_event = shadow_frame.GetSkipNextExceptionEvent(); in HandlePendingException() 78 shadow_frame.SetSkipNextExceptionEvent(false); in HandlePendingException() 79 if (!MoveToExceptionHandler(self, shadow_frame, skip_event ? nullptr : instrumentation)) { in HandlePendingException() 81 DoMonitorCheckOnExit<do_assignability_check>(self, &shadow_frame); in HandlePendingException() 90 static_cast<int32_t>(shadow_frame.GetDexPC()) - static_cast<int32_t>(dex_pc); in HandlePendingException() 96 if (UNLIKELY(shadow_frame.GetForceRetryInstruction())) { in PossiblyHandlePendingExceptionOnInvoke() 100 shadow_frame.SetForceRetryInstruction(false); in PossiblyHandlePendingExceptionOnInvoke() 112 DCHECK(!shadow_frame.GetForceRetryInstruction()); in PossiblyHandlePendingExceptionOnInvoke() 119 if (!DoMonitorCheckOnExit<do_assignability_check>(self, &shadow_frame)) { in HandleMonitorChecks() [all …]
|
D | interpreter_common.cc | 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() [all …]
|
D | interpreter_intrinsics.cc | 28 static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ 35 result_register->set(op(shadow_frame->get1, shadow_frame->get2)); \ 49 static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ 56 result_register->set(op(shadow_frame->get(arg[0]))); \ 182 static ALWAYS_INLINE bool MterpStringCharAt(ShadowFrame* shadow_frame, in MterpStringCharAt() argument 189 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCharAt() 191 int index = shadow_frame->GetVReg(arg[1]); in MterpStringCharAt() 206 static ALWAYS_INLINE bool MterpStringCompareTo(ShadowFrame* shadow_frame, in MterpStringCompareTo() argument 213 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCompareTo() 214 ObjPtr<mirror::Object> arg1 = shadow_frame->GetVRegReference(arg[1]); in MterpStringCompareTo() [all …]
|
D | interpreter_switch_impl.h | 41 ShadowFrame& shadow_frame; member 60 ShadowFrame& shadow_frame, JValue result_register, in ExecuteSwitchImpl() argument 66 .shadow_frame = shadow_frame, in ExecuteSwitchImpl()
|
D | unstarted_runtime_test.cc | 69 ShadowFrame* shadow_frame, \ 73 interpreter::UnstartedRuntime::Unstarted ## Name(self, shadow_frame, result, arg_offset); \ 412 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, method, 0); in TEST_F() local 419 shadow_frame->SetVRegReference(0, reference_empty_string.Get()); in TEST_F() 420 shadow_frame->SetVRegReference(1, string_arg.Get()); in TEST_F() 424 *shadow_frame, in TEST_F() 885 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, nullptr, 0); in TEST_F() local 888 shadow_frame->SetVRegReference(0, class_klass); in TEST_F() 889 UnstartedClassIsAnonymousClass(self, shadow_frame.get(), &result, 0); in TEST_F() 898 shadow_frame->SetVRegReference(0, c); in TEST_F() [all …]
|
D | interpreter.h | 50 ShadowFrame* shadow_frame, 58 ShadowFrame* shadow_frame) 63 ShadowFrame* shadow_frame,
|
D | unstarted_runtime.h | 53 ShadowFrame* shadow_frame, 69 ShadowFrame* shadow_frame, \ 94 ShadowFrame* shadow_frame,
|
D | interpreter_intrinsics.h | 32 bool MterpHandleIntrinsic(ShadowFrame* shadow_frame,
|
D | interpreter_mterp_impl.h | 36 ShadowFrame* shadow_frame,
|
/art/runtime/ |
D | method_handles.cc | 424 ShadowFrame& shadow_frame, in MethodHandleInvokeMethod() argument 454 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeMethod() 467 CopyArgumentsFromCallerFrame(shadow_frame, in MethodHandleInvokeMethod() 484 shadow_frame.GetVRegReference(first_arg_register))); in MethodHandleInvokeMethod() 501 shadow_frame, in MethodHandleInvokeMethod() 517 shadow_frame.GetMethod(), in MethodHandleInvokeMethod() 533 shadow_frame.GetVRegReference(first_callee_register)))); in MethodHandleInvokeMethod() 559 ShadowFrame& shadow_frame, in MethodHandleInvokeTransform() argument 580 CREATE_SHADOW_FRAME(kNumRegsForTransform, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeTransform() 591 shadow_frame.GetVRegReference(first_callee_register))); in MethodHandleInvokeTransform() [all …]
|
D | var_handles.cc | 31 ShadowFrame& shadow_frame, in VarHandleInvokeAccessorWithConversions() argument 44 CREATE_SHADOW_FRAME(num_vregs, nullptr, shadow_frame.GetMethod(), shadow_frame.GetDexPC()); in VarHandleInvokeAccessorWithConversions() 45 ShadowFrameGetter getter(shadow_frame, operands); in VarHandleInvokeAccessorWithConversions() 62 ShadowFrame& shadow_frame, in VarHandleInvokeAccessor() argument 81 return var_handle->Access(access_mode, &shadow_frame, operands, result); in VarHandleInvokeAccessor() 84 shadow_frame, in VarHandleInvokeAccessor()
|
D | common_dex_operations.h | 49 ShadowFrame* shadow_frame, 55 ShadowFrame* shadow_frame, 94 const ShadowFrame& shadow_frame, in DoFieldGetCommon() argument 115 shadow_frame.GetMethod(), in DoFieldGetCommon() 116 shadow_frame.GetDexPC(), in DoFieldGetCommon() 154 const ShadowFrame& shadow_frame, in DoFieldPutCommon() argument 176 shadow_frame.GetMethod(), in DoFieldPutCommon() 177 shadow_frame.GetDexPC(), in DoFieldPutCommon() 183 if (shadow_frame.GetForcePopFrame()) { in DoFieldPutCommon()
|
D | stack.cc | 201 ShadowFrame* shadow_frame = thread_->FindDebuggerShadowFrame(frame_id); in GetVRegFromDebuggerShadowFrame() local 202 if (shadow_frame != nullptr) { in GetVRegFromDebuggerShadowFrame() 209 shadow_frame->GetVRegReference(vreg))); in GetVRegFromDebuggerShadowFrame() 211 *val = shadow_frame->GetVReg(vreg); in GetVRegFromDebuggerShadowFrame() 476 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in PrepareSetVReg() local 477 if (shadow_frame == nullptr) { in PrepareSetVReg() 482 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in PrepareSetVReg() 483 CHECK(shadow_frame != nullptr); in PrepareSetVReg() 491 return shadow_frame; in PrepareSetVReg() 496 ShadowFrame* shadow_frame = PrepareSetVReg(m, vreg, /* wide= */ false); in SetVReg() local [all …]
|
D | method_handles.h | 131 ShadowFrame& shadow_frame, 139 ShadowFrame& shadow_frame,
|
D | var_handles.h | 25 ShadowFrame& shadow_frame,
|
D | method_handles-inl.h | 40 ShadowFrameGetter(const ShadowFrame& shadow_frame, 43 : shadow_frame_(shadow_frame), operands_(operands), operand_index_(operand_index) {} in shadow_frame_() argument 79 ShadowFrameSetter(ShadowFrame* shadow_frame, size_t first_dst_reg) in ShadowFrameSetter() argument 80 : shadow_frame_(shadow_frame), arg_index_(first_dst_reg) {} in ShadowFrameSetter()
|
/art/runtime/mirror/ |
D | var_handle.h | 134 ShadowFrame* shadow_frame, 194 ShadowFrame* shadow_frame, 222 ShadowFrame* shadow_frame, 237 ShadowFrame* shadow_frame, 262 ShadowFrame* shadow_frame,
|
/art/test/1945-proxy-method-arguments/ |
D | get_args.cc | 45 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in VisitFrame() local 46 if (shadow_frame != nullptr) { in VisitFrame()
|
/art/tools/cpp-define-generator/ |
D | asm_defines.def | 35 #include "shadow_frame.def"
|
D | shadow_frame.def | 18 #include "interpreter/shadow_frame.h"
|