diff options
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils.h')
-rw-r--r-- | runtime/entrypoints/entrypoint_utils.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/runtime/entrypoints/entrypoint_utils.h b/runtime/entrypoints/entrypoint_utils.h index ae5687506a..8b6fc69bea 100644 --- a/runtime/entrypoints/entrypoint_utils.h +++ b/runtime/entrypoints/entrypoint_utils.h @@ -143,12 +143,11 @@ inline ArtField* FindFieldFromCode(uint32_t field_idx, REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); -template<InvokeType type> -inline ArtMethod* FindMethodToCall(Thread* self, - ArtMethod* referrer, - ObjPtr<mirror::Object>* this_object, - const Instruction& inst, - /*out*/ bool* string_init) +template<InvokeType type, bool access_check> +inline ArtMethod* FindMethodFromCode(uint32_t method_idx, + ObjPtr<mirror::Object>* this_object, + ArtMethod* referrer, + Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); |