diff src/share/vm/code/nmethod.cpp @ 10879:d55f24eac4b1

PTX support for Linux
author Morris Meyer <morris.meyer@oracle.com>
date Thu, 25 Jul 2013 22:15:30 -0400
parents 4acf032748b9
children f22cbff51c12 6b0fd0964b87
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp	Thu Jul 25 18:02:29 2013 -0700
+++ b/src/share/vm/code/nmethod.cpp	Thu Jul 25 22:15:30 2013 -0400
@@ -950,7 +950,7 @@
 
     // we use the information of entry points to find out if a method is
     // static or non static
-    assert(compiler->is_c2() ||
+    assert(compiler->is_c2() || compiler->is_graal() ||
            _method->is_static() == (entry_point() == _verified_entry_point),
            " entry points must be same for static methods and vice versa");
   }