hotspot/src/share/vm/opto/compile.cpp
changeset 767 64fb1fd7186d
parent 608 fe8c5fbbc54e
child 768 d0bebc7eefc2
--- a/hotspot/src/share/vm/opto/compile.cpp	Mon Jun 23 18:21:18 2008 -0700
+++ b/hotspot/src/share/vm/opto/compile.cpp	Tue Jun 24 10:43:29 2008 -0700
@@ -2017,7 +2017,7 @@
         for (uint i = 0; i < cnt; i++) {
           Node* m = r->raw_out(i);
           if (m!= NULL && m->Opcode() == Op_ConN &&
-              m->bottom_type()->is_narrowoop()->make_oopptr() == t) {
+              m->bottom_type()->make_ptr() == t) {
             nn = m;
             break;
           }
@@ -2070,7 +2070,7 @@
             }
           }
         } else if (t->isa_oopptr()) {
-          in2 = ConNode::make(C, t->is_oopptr()->make_narrowoop());
+          in2 = ConNode::make(C, t->make_narrowoop());
         }
       }
       if( in2 != NULL ) {