diff src/share/vm/compiler/abstractCompiler.hpp @ 21559:be896a1983c0

recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 May 2015 15:36:48 +0200
parents 89152779163c
children
line wrap: on
line diff
--- a/src/share/vm/compiler/abstractCompiler.hpp	Wed May 27 13:43:27 2015 +0200
+++ b/src/share/vm/compiler/abstractCompiler.hpp	Thu May 28 15:36:48 2015 +0200
@@ -29,7 +29,7 @@
 
 typedef void (*initializer)(void);
 
-#ifdef GRAAL
+#ifdef JVMCI
 // Per-compiler statistics
 class CompilerStatistics VALUE_OBJ_CLASS_SPEC {
   friend class VMStructs;
@@ -84,12 +84,12 @@
   // The (closed set) of concrete compiler classes. Using an tag like this
   // avoids a confusing use of macros around the definition of the
   // 'is_<compiler type>' methods.
-  enum Type { c1, c2, shark, graal };
+  enum Type { c1, c2, shark, jvmci };
 
  private:
   Type _type;
 
-#ifdef GRAAL
+#ifdef JVMCI
   CompilerStatistics _stats;
 #endif
 
@@ -112,7 +112,7 @@
   bool is_c1   ()                                { return _type == c1; }
   bool is_c2   ()                                { return _type == c2; }
   bool is_shark()                                { return _type == shark; }
-  bool is_graal()                                { return _type == graal; }
+  bool is_jvmci()                                { return _type == jvmci; }
 
   // Customization
   virtual void initialize () = 0;
@@ -136,7 +136,7 @@
     ShouldNotReachHere();
   }
 
-#ifdef GRAAL
+#ifdef JVMCI
   CompilerStatistics* stats() { return &_stats; }
 #endif
 };