diff src/cpu/sparc/vm/compiledIC_sparc.cpp @ 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 7848fc12602b
children
line wrap: on
line diff
--- a/src/cpu/sparc/vm/compiledIC_sparc.cpp	Wed May 27 13:43:27 2015 +0200
+++ b/src/cpu/sparc/vm/compiledIC_sparc.cpp	Thu May 28 15:36:48 2015 +0200
@@ -102,7 +102,7 @@
 
 void CompiledStaticCall::set_to_interpreted(methodHandle callee, address entry) {
   address stub = find_stub();
-#ifdef GRAAL
+#ifdef JVMCI
   if (stub == NULL) {
     set_destination_mt_safe(entry);
     return;
@@ -159,7 +159,7 @@
 
   // Verify stub.
   address stub = find_stub();
-#ifndef GRAAL
+#ifndef JVMCI
   assert(stub != NULL, "no stub found for static call");
   // Creation also verifies the object.
   NativeMovConstReg* method_holder = nativeMovConstReg_at(stub);