summaryrefslogtreecommitdiff
path: root/runtime/jit/jit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jit/jit.cc')
-rw-r--r--runtime/jit/jit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/jit/jit.cc b/runtime/jit/jit.cc
index c9b458fb49..08883fcdea 100644
--- a/runtime/jit/jit.cc
+++ b/runtime/jit/jit.cc
@@ -941,8 +941,8 @@ uint32_t Jit::CompileMethodsFromProfile(
ClassLinker* class_linker = Runtime::Current()->GetClassLinker();
uint32_t added_to_queue = 0u;
for (const DexFile* dex_file : dex_files) {
- if (LocationIsOnRuntimeModule(dex_file->GetLocation().c_str())) {
- // The runtime module jars are already preopted.
+ if (LocationIsOnArtModule(dex_file->GetLocation().c_str())) {
+ // The ART module jars are already preopted.
continue;
}
// To speed up class lookups, generate a type lookup table for