summaryrefslogtreecommitdiff
path: root/runtime/class_linker.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-11-26 18:21:45 +0000
committer Andreas Gampe <agampe@google.com> 2018-11-26 18:21:45 +0000
commit763cd98161424cf19af2f113a6802f04860dcd6e (patch)
treebfb50d986ad25030ecfde9b3a4e1ffd8983e30f6 /runtime/class_linker.cc
parent7a2c7c2f7062d9fef21b72ff9c10ca8ef863eb8b (diff)
Revert "Refactor code around JIT creation."
This reverts commit 7a2c7c2f7062d9fef21b72ff9c10ca8ef863eb8b. Reason for revert: Breaks boot in debug mode Bug: 119800099 Change-Id: I6d015b04c480f76824ead936238cbf49b164b7e3 Test: N/A
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 bcc05c7bca..ce7dfaf8af 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -3145,7 +3145,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