diff options
author | 2022-07-26 21:10:06 +0000 | |
---|---|---|
committer | 2022-07-27 13:55:20 +0000 | |
commit | 93d6dcb6972185c82db5b87d1648380968736f1a (patch) | |
tree | df62706ef22e23ee7926a042a3a83c7489a10bb3 /runtime/interpreter/unstarted_runtime_test.cc | |
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/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()); } |