Home
last modified time | relevance | path

Searched refs:shadow_frame (Results 1 – 25 of 39) sorted by relevance

12

/art/runtime/interpreter/mterp/
Dmterp.cc164 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 …]
Dmterp_stub.cc43 ShadowFrame* shadow_frame, in ExecuteMterpImpl() argument
46 UNUSED(self); UNUSED(shadow_frame); UNUSED(code_item); UNUSED(result_register); in ExecuteMterpImpl()
/art/runtime/interpreter/
Dinterpreter_common.h129 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 …]
Dunstarted_runtime.cc94 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 …]
Dinterpreter.cc250 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 …]
Dinterpreter_switch_impl-inl.h60 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 …]
Dinterpreter_common.cc154 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 …]
Dinterpreter_intrinsics.cc28 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 …]
Dinterpreter_switch_impl.h41 ShadowFrame& shadow_frame; member
60 ShadowFrame& shadow_frame, JValue result_register, in ExecuteSwitchImpl() argument
66 .shadow_frame = shadow_frame, in ExecuteSwitchImpl()
Dunstarted_runtime_test.cc69 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 …]
Dinterpreter.h50 ShadowFrame* shadow_frame,
58 ShadowFrame* shadow_frame)
63 ShadowFrame* shadow_frame,
Dunstarted_runtime.h53 ShadowFrame* shadow_frame,
69 ShadowFrame* shadow_frame, \
94 ShadowFrame* shadow_frame,
Dinterpreter_intrinsics.h32 bool MterpHandleIntrinsic(ShadowFrame* shadow_frame,
Dinterpreter_mterp_impl.h36 ShadowFrame* shadow_frame,
/art/runtime/
Dmethod_handles.cc424 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 …]
Dvar_handles.cc31 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()
Dcommon_dex_operations.h49 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()
Dstack.cc201 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 …]
Dmethod_handles.h131 ShadowFrame& shadow_frame,
139 ShadowFrame& shadow_frame,
Dvar_handles.h25 ShadowFrame& shadow_frame,
Dmethod_handles-inl.h40 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/
Dvar_handle.h134 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/
Dget_args.cc45 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in VisitFrame() local
46 if (shadow_frame != nullptr) { in VisitFrame()
/art/tools/cpp-define-generator/
Dasm_defines.def35 #include "shadow_frame.def"
Dshadow_frame.def18 #include "interpreter/shadow_frame.h"

12