summaryrefslogtreecommitdiffstats
path: root/runtime/jni_internal.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-27 23:45:15 -0700
committerAndreas Gampe <agampe@google.com>2015-03-27 23:46:09 -0700
commit4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6 (patch)
treee9dfed086f56245e74862caa813c708bc4f500f9 /runtime/jni_internal.cc
parente2c29f4a2717923f190c944a06e02f7d8c3ddcb6 (diff)
downloadart-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.tar.gz
art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.tar.bz2
art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.zip
ART: Some runtime cleanup
Use an enum for the compiler-callback mode. Refactor and remove some unnecessary includes in runtime.h. Change-Id: If2245fa470171311b8e05b677cf6bb28f209585a
Diffstat (limited to 'runtime/jni_internal.cc')
-rw-r--r--runtime/jni_internal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jni_internal.cc b/runtime/jni_internal.cc
index 566b097a6e..9a71ba4ca7 100644
--- a/runtime/jni_internal.cc
+++ b/runtime/jni_internal.cc
@@ -167,7 +167,7 @@ static mirror::ClassLoader* GetClassLoader(const ScopedObjectAccess& soa)
// If so, CommonCompilerTest should have marked the runtime as a compiler not compiling an
// image.
CHECK(Runtime::Current()->IsAotCompiler());
- CHECK(!Runtime::Current()->GetCompilerCallbacks()->IsBootImage());
+ CHECK(!Runtime::Current()->IsCompilingBootImage());
return class_loader;
}
// Use the BOOTCLASSPATH.