< prev index next >

src/hotspot/share/opto/parse2.cpp

Print this page

        

@@ -2300,11 +2300,11 @@
   handle_if_acmp:
     // If this is a backwards branch in the bytecodes, add Safepoint
     maybe_add_safepoint(iter().get_dest());
     a = pop();
     b = pop();
-    c = _gvn.transform( new CmpPNode(b, a) );
+    c = _gvn.transform(acmp(a, b));
     c = optimize_cmp_with_klass(c);
     do_if(btest, c);
     break;
 
   case Bytecodes::_ifeq: btest = BoolTest::eq; goto handle_ifxx;
< prev index next >