diff options
author | 2022-07-19 13:45:59 +0000 | |
---|---|---|
committer | 2022-07-19 15:34:45 +0000 | |
commit | 27aecbb0180a98a672a8ab96b763d0864105d266 (patch) | |
tree | b0101b055267dc35adf1f31890baf413bfc3ab94 /runtime/entrypoints/entrypoint_utils.h | |
parent | 9be8b3fea4dc69b112bb9e269c1cb4bc66fde885 (diff) |
Revert "Use the thread local cache in interpreter / unresolved entrypoints"
This reverts commit 16032a421a08fb6396de8e8f168a62fe29a0f7ad.
Reason for revert: Need to handle non-read barrier GCs.
Change-Id: Ic3c1cbc97f4d62e701fdcecff9598295cf79e748
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_); |