6787050: assert(n->in(0) == 0L,"no control") with UseCompressedOops on sparcv9

Relax the assert for Sparc.

Reviewed-by: never
This commit is contained in:
Vladimir Kozlov 2008-12-18 11:26:22 -08:00
parent 29488f1216
commit 744c80add4

View file

@ -2192,7 +2192,9 @@ static void final_graph_reshaping_impl( Node *n, Final_Reshape_Counts &fpu ) {
case Op_DecodeN:
assert(!n->in(1)->is_EncodeP(), "should be optimized out");
assert(n->in(0) == NULL, "no control");
// DecodeN could be pinned on Sparc where it can't be fold into
// an address expression, see the code for Op_CastPP above.
assert(n->in(0) == NULL || !Matcher::clone_shift_expressions, "no control except on sparc");
break;
case Op_EncodeP: {