diff options
author | 2022-01-17 17:12:38 +0000 | |
---|---|---|
committer | 2022-01-24 10:15:09 +0000 | |
commit | c8a694ddbcda17fc90121d7e7985d90d3860a60c (patch) | |
tree | 729f5df88c74983f6cfca6a5d6761d093db7e747 /runtime/runtime_callbacks_test.cc | |
parent | bed84ef16bd124293714b545be1c2d96c6a618b2 (diff) |
Reland "Use InitializeMethodsCode when we need to reinitialize a method entrypoint."
This reverts commit b0f63c93e44bf53a34dda90c74b8725a932922da.
Reason for revert: Fix For proxy init.
Test: test.py
Change-Id: I6b4796115d73a093f86309cec1f03cafd981c2e9
Diffstat (limited to 'runtime/runtime_callbacks_test.cc')
-rw-r--r-- | runtime/runtime_callbacks_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime_callbacks_test.cc b/runtime/runtime_callbacks_test.cc index 7619750032..7f64721a4f 100644 --- a/runtime/runtime_callbacks_test.cc +++ b/runtime/runtime_callbacks_test.cc @@ -80,7 +80,7 @@ class RuntimeCallbacksTest : public CommonRuntimeTest { PointerSize pointer_size = class_linker_->GetImagePointerSize(); for (auto& m : klass->GetMethods(pointer_size)) { if (!m.IsAbstract()) { - class_linker_->SetEntryPointsToInterpreter(&m); + Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(&m, /*aot_code=*/ nullptr); } } } |