diff options
author | 2022-07-26 21:10:06 +0000 | |
---|---|---|
committer | 2022-07-27 13:55:20 +0000 | |
commit | 93d6dcb6972185c82db5b87d1648380968736f1a (patch) | |
tree | df62706ef22e23ee7926a042a3a83c7489a10bb3 /runtime/entrypoints/entrypoint_utils.h | |
parent | 37dc7d4cb5661b1e263faab9db0d5fba424c7c72 (diff) |
Revert "Reland "Use the thread local cache in interpreter / unresolved entrypoints""
This reverts commit b86527a04011bbc97cbb1ce80c515e3b720dc5b5.
Reason for revert: b/240233684
Change-Id: I4e1c844ff66942df6ad1720010404fea22be684d
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_); |