/art/runtime/interpreter/ |
D | interpreter_common.h | 112 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, 131 ArtMethod* const called_method = FindMethodFromCode<type, false>( in DoFastInvoke() local 134 if (UNLIKELY(called_method == nullptr)) { in DoFastInvoke() 138 } else if (UNLIKELY(!called_method->IsInvokable())) { in DoFastInvoke() 139 called_method->ThrowInvocationTimeError(); in DoFastInvoke() 146 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoFastInvoke() 150 if (called_method->IsIntrinsic()) { in DoFastInvoke() 151 if (MterpHandleIntrinsic(&shadow_frame, called_method, inst, inst_data, in DoFastInvoke() 156 return DoCall<false, false>(called_method, self, shadow_frame, inst, inst_data, result); in DoFastInvoke() 172 ArtMethod* const called_method = FindMethodFromCode<type, do_access_check>( in DoInvoke() local [all …]
|
D | interpreter_intrinsics.h | 33 ArtMethod* const called_method,
|
D | interpreter_common.cc | 441 static ALWAYS_INLINE bool DoCallCommon(ArtMethod* called_method, 904 static inline bool DoCallCommon(ArtMethod* called_method, in DoCallCommon() argument 913 if (UNLIKELY(called_method->GetDeclaringClass()->IsStringClass() in DoCallCommon() 914 && called_method->IsConstructor())) { in DoCallCommon() 915 called_method = WellKnownClasses::StringInitToStringFactory(called_method); in DoCallCommon() 920 const DexFile::CodeItem* code_item = called_method->GetCodeItem(); in DoCallCommon() 928 DCHECK(called_method->IsNative() || called_method->IsProxyMethod()); in DoCallCommon() 950 DCHECK(called_method->IsNative() || called_method->IsProxyMethod()); in DoCallCommon() 973 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoCallCommon() 1090 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, in DoCall() argument [all …]
|
D | interpreter_intrinsics.cc | 338 ArtMethod* const called_method, in MterpHandleIntrinsic() argument 343 Intrinsics intrinsic = static_cast<Intrinsics>(called_method->GetIntrinsic()); in MterpHandleIntrinsic()
|
/art/runtime/ |
D | method_handles.cc | 419 static inline bool DoCallPolymorphic(ArtMethod* called_method, in DoCallPolymorphic() argument 429 const DexFile::CodeItem* code_item = called_method->GetCodeItem(); in DoCallPolymorphic() 448 DCHECK(called_method->IsNative() || called_method->IsProxyMethod()); in DoCallPolymorphic() 449 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in DoCallPolymorphic() 455 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoCallPolymorphic() 547 static inline bool DoCallTransform(ArtMethod* called_method, in DoCallTransform() argument 568 const DexFile::CodeItem* code_item = called_method->GetCodeItem(); in DoCallTransform() 574 CREATE_SHADOW_FRAME(kNumRegsForTransform, &shadow_frame, called_method, /* dex pc */ 0); in DoCallTransform() 721 ArtMethod* called_method = RefineTargetMethod(self, in DoInvokePolymorphicMethod() local 728 if (called_method == nullptr) { in DoInvokePolymorphicMethod() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 999 MethodReference called_method(nullptr, 0); in artQuickResolutionTrampoline() local 1004 called_method.dex_file = caller->GetDexFile(); in artQuickResolutionTrampoline() 1066 called_method.dex_method_index = (is_range) ? instr->VRegB_3rc() : instr->VRegB_35c(); in artQuickResolutionTrampoline() 1073 DCHECK_EQ(stack_map_dex_method_idx, called_method.dex_method_index) in artQuickResolutionTrampoline() 1074 << called_method.dex_file->PrettyMethod(stack_map_dex_method_idx) << " " in artQuickResolutionTrampoline() 1075 << called_method.dex_file->PrettyMethod(called_method.dex_method_index); in artQuickResolutionTrampoline() 1079 << called_method.dex_method_index; in artQuickResolutionTrampoline() 1083 called_method.dex_method_index = stack_map_dex_method_idx; in artQuickResolutionTrampoline() 1087 called_method.dex_file = called->GetDexFile(); in artQuickResolutionTrampoline() 1088 called_method.dex_method_index = called->GetDexMethodIndex(); in artQuickResolutionTrampoline() [all …]
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 275 ArtMethod* const called_method = receiver->GetClass()->GetEmbeddedVTableEntry( in MterpInvokeVirtualQuick() local 277 if ((called_method != nullptr) && called_method->IsIntrinsic()) { in MterpInvokeVirtualQuick() 278 if (MterpHandleIntrinsic(shadow_frame, called_method, inst, inst_data, result_register)) { in MterpInvokeVirtualQuick() 282 receiver, shadow_frame->GetMethod(), shadow_frame->GetDexPC(), called_method); in MterpInvokeVirtualQuick()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 2900 ArtMethod* called_method = VerifyInvocationArgs(inst, type, is_range); in CodeFlowVerifyInstruction() local 2902 if (called_method != nullptr) { in CodeFlowVerifyInstruction() 2903 mirror::Class* return_type_class = called_method->GetReturnType(can_load_classes_); in CodeFlowVerifyInstruction() 2905 return_type = &FromClass(called_method->GetReturnTypeDescriptor(), in CodeFlowVerifyInstruction() 2932 ArtMethod* called_method = VerifyInvocationArgs(inst, METHOD_DIRECT, is_range); in CodeFlowVerifyInstruction() local 2936 if (called_method == nullptr) { in CodeFlowVerifyInstruction() 2944 is_constructor = called_method->IsConstructor(); in CodeFlowVerifyInstruction() 2945 return_type_descriptor = called_method->GetReturnTypeDescriptor(); in CodeFlowVerifyInstruction() 2946 mirror::Class* return_type_class = called_method->GetReturnType(can_load_classes_); in CodeFlowVerifyInstruction() 3010 ArtMethod* called_method = VerifyInvocationArgs(inst, METHOD_STATIC, is_range); in CodeFlowVerifyInstruction() local [all …]
|