Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/compile.cpp @ 492:5496e074077f
6787050: assert(n->in(0) == 0L,"no control") with UseCompressedOops on sparcv9
Summary: Relax the assert for Sparc.
Reviewed-by: never
author | kvn |
---|---|
date | Thu, 18 Dec 2008 11:26:22 -0800 |
parents | dd70dd4c91de |
children | 3b5ac9e7e6ea |
comparison
equal
deleted
inserted
replaced
490:dd70dd4c91de | 492:5496e074077f |
---|---|
2190 } | 2190 } |
2191 break; | 2191 break; |
2192 | 2192 |
2193 case Op_DecodeN: | 2193 case Op_DecodeN: |
2194 assert(!n->in(1)->is_EncodeP(), "should be optimized out"); | 2194 assert(!n->in(1)->is_EncodeP(), "should be optimized out"); |
2195 assert(n->in(0) == NULL, "no control"); | 2195 // DecodeN could be pinned on Sparc where it can't be fold into |
2196 // an address expression, see the code for Op_CastPP above. | |
2197 assert(n->in(0) == NULL || !Matcher::clone_shift_expressions, "no control except on sparc"); | |
2196 break; | 2198 break; |
2197 | 2199 |
2198 case Op_EncodeP: { | 2200 case Op_EncodeP: { |
2199 Node* in1 = n->in(1); | 2201 Node* in1 = n->in(1); |
2200 if (in1->is_DecodeN()) { | 2202 if (in1->is_DecodeN()) { |