diff -r 7384f6a12fc1 -r 968a17f18337 src/share/vm/opto/ifnode.cpp --- a/src/share/vm/opto/ifnode.cpp Thu May 15 18:23:26 2014 -0400 +++ b/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 &&