summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-07-19 13:45:59 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-07-19 15:34:45 +0000
commit27aecbb0180a98a672a8ab96b763d0864105d266 (patch)
treeb0101b055267dc35adf1f31890baf413bfc3ab94 /runtime/interpreter/interpreter.cc
parent9be8b3fea4dc69b112bb9e269c1cb4bc66fde885 (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/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index 6f0a5c9212..0ffc38beeb 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -511,7 +511,7 @@ void EnterInterpreterFromDeoptimize(Thread* self,
new_dex_pc = dex_pc + instr->SizeInCodeUnits();
} else if (instr->IsInvoke()) {
DCHECK(deopt_method_type == DeoptimizationMethodType::kDefault);
- if (IsStringInit(*instr, shadow_frame->GetMethod())) {
+ if (IsStringInit(instr, shadow_frame->GetMethod())) {
uint16_t this_obj_vreg = GetReceiverRegisterForStringInit(instr);
// Move the StringFactory.newStringFromChars() result into the register representing
// "this object" when invoking the string constructor in the original dex instruction.