hotspot/src/share/vm/opto/ifnode.cpp
changeset 24479 20eb4c752fb5
parent 22911 ff49c48c887d
child 24923 9631f7d691dc
--- a/hotspot/src/share/vm/opto/ifnode.cpp	Mon Jan 27 10:20:51 2014 -0800
+++ b/hotspot/src/share/vm/opto/ifnode.cpp	Fri May 16 12:05:14 2014 -0700
@@ -673,7 +673,7 @@
 //           /    Region
 //
 Node* IfNode::fold_compares(PhaseGVN* phase) {
-  if (!phase->C->eliminate_boxing() || Opcode() != Op_If) return NULL;
+  if (Opcode() != Op_If) return NULL;
 
   Node* this_cmp = in(1)->in(1);
   if (this_cmp != NULL && this_cmp->Opcode() == Op_CmpI &&