8149797: Compilation fails with "assert(in_hash) failed: node should be in igvn hash table"

Node replaced by dominating dead cast during parsing

Reviewed-by: kvn
This commit is contained in:
Roland Westrelin 2016-02-15 15:15:56 +01:00
parent 2099cecfb0
commit 0cd6070d58

View File

@ -124,6 +124,7 @@ TypeNode* ConstraintCastNode::dominating_cast(PhaseTransform *phase) const {
for (DUIterator_Fast imax, i = val->fast_outs(imax); i < imax; i++) {
Node* u = val->fast_out(i);
if (u != this &&
u->outcnt() > 0 &&
u->Opcode() == opc &&
u->in(0) != NULL &&
u->bottom_type()->higher_equal(type())) {