diff options
author | 2022-07-19 13:45:59 +0000 | |
---|---|---|
committer | 2022-07-19 15:34:45 +0000 | |
commit | 27aecbb0180a98a672a8ab96b763d0864105d266 (patch) | |
tree | b0101b055267dc35adf1f31890baf413bfc3ab94 /runtime/interpreter/unstarted_runtime_test.cc | |
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/interpreter/unstarted_runtime_test.cc')
-rw-r--r-- | runtime/interpreter/unstarted_runtime_test.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/interpreter/unstarted_runtime_test.cc b/runtime/interpreter/unstarted_runtime_test.cc index 70948b8565..75a692e48d 100644 --- a/runtime/interpreter/unstarted_runtime_test.cc +++ b/runtime/interpreter/unstarted_runtime_test.cc @@ -420,13 +420,11 @@ TEST_F(UnstartedRuntimeTest, StringInit) { shadow_frame->SetVRegReference(0, reference_empty_string.Get()); shadow_frame->SetVRegReference(1, string_arg.Get()); - ArtMethod* factory = WellKnownClasses::StringInitToStringFactory(method); - interpreter::DoCall<false, false>(factory, + interpreter::DoCall<false, false>(method, self, *shadow_frame, Instruction::At(inst_data), inst_data[0], - /* string_init= */ true, &result); ObjPtr<mirror::String> string_result = down_cast<mirror::String*>(result.GetL()); EXPECT_EQ(string_arg->GetLength(), string_result->GetLength()); @@ -1026,7 +1024,6 @@ TEST_F(UnstartedRuntimeTest, FloatConversion) { *shadow_frame, Instruction::At(inst_data), inst_data[0], - /* string_init= */ false, &result); ObjPtr<mirror::String> string_result = down_cast<mirror::String*>(result.GetL()); ASSERT_TRUE(string_result != nullptr); @@ -1182,7 +1179,6 @@ class UnstartedClassForNameTest : public UnstartedRuntimeTest { *shadow_frame, Instruction::At(inst_data), inst_data[0], - /* string_init= */ false, &result); CHECK(!self->IsExceptionPending()); } |