Enable compiler_test on host.

Change-Id: I67a745ba78567af6c967cc44cd9c9640ef5ba398
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 6ccccd2..cca891d 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -786,6 +786,10 @@
         cUnit->enableDebug = compilerDebugFlags;
         cUnit->printMe = VLOG_IS_ON(compiler) || (cUnit->enableDebug & (1 << kDebugVerbose));
     }
+    if (cUnit->instructionSet == kX86) {
+        // Disable optimizations on X86 for now
+        cUnit->disableOpt = -1;
+    }
     /* Are we generating code for the debugger? */
     if (compiler.IsDebuggingSupported()) {
         cUnit->genDebugger = true;