From 93d6dcb6972185c82db5b87d1648380968736f1a Mon Sep 17 00:00:00 2001 From: Neha Jain Date: Tue, 26 Jul 2022 21:10:06 +0000 Subject: Revert "Reland "Use the thread local cache in interpreter / unresolved entrypoints"" This reverts commit b86527a04011bbc97cbb1ce80c515e3b720dc5b5. Reason for revert: b/240233684 Change-Id: I4e1c844ff66942df6ad1720010404fea22be684d --- runtime/entrypoints/entrypoint_utils.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'runtime/entrypoints/entrypoint_utils.h') 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 -inline ArtMethod* FindMethodToCall(Thread* self, - ArtMethod* referrer, - ObjPtr* this_object, - const Instruction& inst, - /*out*/ bool* string_init) +template +inline ArtMethod* FindMethodFromCode(uint32_t method_idx, + ObjPtr* this_object, + ArtMethod* referrer, + Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); -- cgit v1.2.3-59-g8ed1b