hotspot/src/share/vm/opto/compile.cpp
changeset 2259 d3c946e7f127
parent 2154 72a9b7284ccf
parent 2254 f13dda645a4b
child 3273 6acf7084b1d3
--- a/hotspot/src/share/vm/opto/compile.cpp	Wed Mar 18 11:37:48 2009 -0400
+++ b/hotspot/src/share/vm/opto/compile.cpp	Thu Mar 19 09:13:24 2009 -0700
@@ -2081,7 +2081,7 @@
 
 #ifdef _LP64
   case Op_CastPP:
-    if (n->in(1)->is_DecodeN() && UseImplicitNullCheckForNarrowOop) {
+    if (n->in(1)->is_DecodeN() && Universe::narrow_oop_use_implicit_null_checks()) {
       Compile* C = Compile::current();
       Node* in1 = n->in(1);
       const Type* t = n->bottom_type();
@@ -2136,7 +2136,7 @@
         new_in2 = in2->in(1);
       } else if (in2->Opcode() == Op_ConP) {
         const Type* t = in2->bottom_type();
-        if (t == TypePtr::NULL_PTR && UseImplicitNullCheckForNarrowOop) {
+        if (t == TypePtr::NULL_PTR && Universe::narrow_oop_use_implicit_null_checks()) {
           new_in2 = ConNode::make(C, TypeNarrowOop::NULL_PTR);
           //
           // This transformation together with CastPP transformation above