diff src/share/vm/graal/graalRuntime.hpp @ 17033:2d6dd2eebd51

Fixed HSAIL deopt
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 02 Sep 2014 21:42:37 -0700
parents 9d4c73b0646e
children bcb1e5c232d8
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp	Tue Sep 02 21:42:29 2014 -0700
+++ b/src/share/vm/graal/graalRuntime.hpp	Tue Sep 02 21:42:37 2014 -0700
@@ -217,7 +217,10 @@
 
   static BasicType kindToBasicType(jchar ch);
   static address create_external_deopt_i2c();
-  static address get_external_deopt_i2c_entry() {return _external_deopt_i2c_entry;}
+  static address get_external_deopt_i2c_entry() {
+    guarantee(_external_deopt_i2c_entry != NULL, "unsupported");
+    return _external_deopt_i2c_entry;
+  }
 
   // The following routines are all called from compiled Graal code