diff src/share/vm/runtime/javaCalls.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 8f2fb6bec986
children
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.hpp	Wed May 27 13:43:27 2015 +0200
+++ b/src/share/vm/runtime/javaCalls.hpp	Thu May 28 15:36:48 2015 +0200
@@ -100,7 +100,7 @@
   int         _size;
   int         _max_size;
   bool        _start_at_zero;      // Support late setting of receiver
-#ifdef GRAAL
+#ifdef JVMCI
   nmethod*    _alternative_target; // Nmethod that should be called instead of normal target
 #endif
 
@@ -112,7 +112,7 @@
     _max_size = _default_size;
     _size = 0;
     _start_at_zero = false;
-    GRAAL_ONLY(_alternative_target = NULL;)
+    JVMCI_ONLY(_alternative_target = NULL;)
   }
 
  public:
@@ -134,13 +134,13 @@
       _max_size = max_size;
       _size = 0;
       _start_at_zero = false;
-      GRAAL_ONLY(_alternative_target = NULL;)
+      JVMCI_ONLY(_alternative_target = NULL;)
     } else {
       initialize();
     }
   }
 
-#ifdef GRAAL
+#ifdef JVMCI
   void set_alternative_target(nmethod* target) {
     _alternative_target = target;
   }