diff src/share/vm/graal/graalCompiler.cpp @ 12647:b038b643a3a4

restricted BootstrapGraal option to GRAALVM builds only
author Doug Simon <doug.simon@oracle.com>
date Wed, 30 Oct 2013 21:49:04 +0100
parents 516b93ccf7c9
children 0dd597c6c9c7
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Wed Oct 30 19:59:48 2013 +0100
+++ b/src/share/vm/graal/graalCompiler.cpp	Wed Oct 30 21:49:04 2013 +0100
@@ -98,9 +98,10 @@
     VMToCompiler::finalizeOptions(CITime);
 
     if (UseCompiler) {
-      VMToCompiler::startCompiler(BootstrapGraal);
+      bool bootstrap = GRAALVM_ONLY(BootstrapGraal) NOT_GRAALVM(false);
+      VMToCompiler::startCompiler(bootstrap);
       _initialized = true;
-      if (BootstrapGraal) {
+      if (bootstrap) {
         // We turn off CompileTheWorld and complete the VM startup so that
         // Graal can be compiled by C1/C2 when we do a CTW.
         NOT_PRODUCT(CompileTheWorld = false);