OSDN Git Service

compiler_driver: Fix build.
authorNarayan Kamath <narayan@google.com>
Fri, 30 Sep 2016 14:24:19 +0000 (15:24 +0100)
committerNarayan Kamath <narayan@google.com>
Fri, 30 Sep 2016 14:24:19 +0000 (15:24 +0100)
Test: make-art-host
Change-Id: I94e164ed245caea60fe26872a943ea5e14aa8860

compiler/driver/compiler_driver.cc

index 895721f..e2f8d92 100644 (file)
@@ -492,7 +492,7 @@ void CompilerDriver::CompileAll(jobject class_loader,
   // 3) Attempt to verify all classes
   // 4) Attempt to initialize image classes, and trivially initialized classes
   PreCompile(class_loader, dex_files, timings);
-  if (IsBootImage()) {
+  if (GetCompilerOptions().IsBootImage()) {
     // We don't need to setup the intrinsics for non boot image compilation, as
     // those compilations will pick up a boot image that have the ArtMethod already
     // set with the intrinsics flag.