compiler_driver: Fix build.
Test: make-art-host
Change-Id: I94e164ed245caea60fe26872a943ea5e14aa8860
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 895721f..e2f8d92 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -492,7 +492,7 @@
// 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.