summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-11-26 21:19:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-11-26 21:19:36 +0000
commita61a969e2d32c175fca043a33dcc3af04ffa41f0 (patch)
treeca3ea7e5228bd57fcec9f171d34fa11d1a43e5fe /runtime/class_linker.cc
parent52f5fa70cbe9b99386664697186f06046d351985 (diff)
parent763cd98161424cf19af2f113a6802f04860dcd6e (diff)
Merge "Revert "Refactor code around JIT creation.""
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r--runtime/class_linker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index 0deb37ce4b..545754f662 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -3251,7 +3251,7 @@ bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void*
return (jit == nullptr) || !jit->GetCodeCache()->ContainsPc(quick_code);
}
- if (runtime->IsNativeDebuggable()) {
+ if (runtime->IsNativeDebuggableZygoteOK()) {
DCHECK(runtime->UseJitCompilation() && runtime->GetJit()->JitAtFirstUse());
// If we are doing native debugging, ignore application's AOT code,
// since we want to JIT it (at first use) with extra stackmaps for native