hotspot/src/share/vm/opto/ifnode.cpp
changeset 17383 3665c0901a0d
parent 13963 e5b53c306fb5
child 20289 35d78de0c547
--- a/hotspot/src/share/vm/opto/ifnode.cpp	Mon May 06 19:49:23 2013 -0700
+++ b/hotspot/src/share/vm/opto/ifnode.cpp	Wed May 08 15:08:01 2013 -0700
@@ -673,7 +673,7 @@
 //           /    Region
 //
 Node* IfNode::fold_compares(PhaseGVN* phase) {
-  if (!EliminateAutoBox || Opcode() != Op_If) return NULL;
+  if (!phase->C->eliminate_boxing() || Opcode() != Op_If) return NULL;
 
   Node* this_cmp = in(1)->in(1);
   if (this_cmp != NULL && this_cmp->Opcode() == Op_CmpI &&