hotspot/src/share/vm/opto/loopopts.cpp
changeset 13974 791cba24758f
parent 13963 e5b53c306fb5
parent 13969 d2a189b83b87
child 14623 70c4c1be0a14
--- a/hotspot/src/share/vm/opto/loopopts.cpp	Tue Oct 09 10:09:34 2012 -0700
+++ b/hotspot/src/share/vm/opto/loopopts.cpp	Fri Oct 12 09:22:52 2012 -0700
@@ -550,7 +550,7 @@
     // This will likely Split-If, a higher-payoff operation.
     for (DUIterator_Fast kmax, k = phi->fast_outs(kmax); k < kmax; k++) {
       Node* use = phi->fast_out(k);
-      if (use->is_Cmp() || use->is_DecodeN() || use->is_EncodeP())
+      if (use->is_Cmp() || use->is_DecodeNarrowPtr() || use->is_EncodeNarrowPtr())
         cost += ConditionalMoveLimit;
       // Is there a use inside the loop?
       // Note: check only basic types since CMoveP is pinned.
@@ -1006,7 +1006,7 @@
             // to fold a StoreP and an AddP together (as part of an
             // address expression) and the AddP and StoreP have
             // different controls.
-            if( !x->is_Load() && !x->is_DecodeN() ) _igvn._worklist.yank(x);
+            if (!x->is_Load() && !x->is_DecodeNarrowPtr()) _igvn._worklist.yank(x);
           }
           _igvn.remove_dead_node(n);
         }