diff options
| author | 2018-01-14 00:22:04 +0000 | |
|---|---|---|
| committer | 2018-01-14 00:29:51 +0000 | |
| commit | c971f6e06a43e70a2d86cb4b3ad0e13a9ae9a06c (patch) | |
| tree | 9fa6be931e7bc8d0f47b0eb2d91a683ffcf1c3f1 /runtime/instrumentation.cc | |
| parent | 94730ef9ca432b5ede81e928cffc4006911aa650 (diff) | |
Revert "Ensure that methods requiring interpreter entrypoint always have it."
This reverts commit 94730ef9ca432b5ede81e928cffc4006911aa650.
Debug tests failing.
Ran: test/run-test --always-clean --prebuild --compact-dex-level none --optimizing --no-relocate --runtime-option -Xcheck:jni --64 --build-with-javac-dx 067-preemptive-unpark
Bug: 62821960
Change-Id: Ia4fb7b7b3a60879662dea50ce32b1cfb5e0a3eff
Diffstat (limited to 'runtime/instrumentation.cc')
| -rw-r--r-- | runtime/instrumentation.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/instrumentation.cc b/runtime/instrumentation.cc index 2a1f219fae..4524448916 100644 --- a/runtime/instrumentation.cc +++ b/runtime/instrumentation.cc @@ -167,7 +167,7 @@ void Instrumentation::InstallStubsForMethod(ArtMethod* method) { if (NeedDebugVersionFor(method)) { new_quick_code = GetQuickToInterpreterBridge(); } else { - new_quick_code = class_linker->GetQuickEntrypointFor(method); + new_quick_code = class_linker->GetQuickOatCodeFor(method); } } else { new_quick_code = GetQuickResolutionStub(); @@ -188,7 +188,7 @@ void Instrumentation::InstallStubsForMethod(ArtMethod* method) { } else if (entry_exit_stubs_installed_) { new_quick_code = GetQuickInstrumentationEntryPoint(); } else { - new_quick_code = class_linker->GetQuickEntrypointFor(method); + new_quick_code = class_linker->GetQuickOatCodeFor(method); } } else { new_quick_code = GetQuickResolutionStub(); @@ -877,7 +877,7 @@ void Instrumentation::Undeoptimize(ArtMethod* method) { } else { const void* quick_code = NeedDebugVersionFor(method) ? GetQuickToInterpreterBridge() - : class_linker->GetQuickEntrypointFor(method); + : class_linker->GetQuickOatCodeFor(method); UpdateEntrypoints(method, quick_code); } @@ -971,7 +971,7 @@ const void* Instrumentation::GetQuickCodeFor(ArtMethod* method, PointerSize poin return code; } } - return class_linker->GetQuickEntrypointFor(method); + return class_linker->GetQuickOatCodeFor(method); } void Instrumentation::MethodEnterEventImpl(Thread* thread, |