--- a/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp Wed Feb 10 07:54:26 2016 +0100
+++ b/hotspot/src/share/vm/c1/c1_Canonicalizer.cpp Wed Feb 10 15:58:11 2016 +0300
@@ -730,7 +730,7 @@
}
} else if (rt == objectNull &&
(l->as_NewInstance() || l->as_NewArray() ||
- (UseNewCode && l->as_Local() && l->as_Local()->is_receiver()))) {
+ (l->as_Local() && l->as_Local()->is_receiver()))) {
if (x->cond() == Instruction::eql) {
BlockBegin* sux = x->fsux();
set_canonical(new Goto(sux, x->state_before(), is_safepoint(x, sux)));