< prev index next >
src/share/vm/opto/compile.cpp
Print this page
rev 10493 : keep
rev 10498 : C2: add SafePointScalarObjectNodes from ValueTypeNodes to SafePointNodes without an allocation + propagate materialized value type in the graph
*** 3250,3259 ****
--- 3250,3267 ----
Node* iff = new IfNode(rc->in(0), rc->in(1), rc->_prob, rc->_fcnt);
n->subsume_by(iff, this);
frc._tests.push(iff);
break;
}
+ case Op_ValueType: {
+ ValueTypeNode* vt = n->as_ValueType();
+ vt->make_scalar_in_safepoints(this);
+ if (vt->outcnt() == 0) {
+ vt->disconnect_inputs(NULL, this);
+ }
+ break;
+ }
default:
assert( !n->is_Call(), "" );
assert( !n->is_Mem(), "" );
assert( nop != Op_ProfileBoolean, "should be eliminated during IGVN");
break;
< prev index next >