8176441: assert(false) failed: modified node was not processed by IGVN.transform_old()

The shiftNode needs to be added to the IGVN worklist after being modified.

Reviewed-by: kvn, vlivanov
This commit is contained in:
Tobias Hartmann 2017-03-13 12:13:09 +01:00
parent f5777dc9bd
commit 43a771e998

View File

@ -648,6 +648,7 @@ static int maskShiftAmount(PhaseGVN *phase, Node *shiftNode, int nBits) {
if (shift != maskedShift) {
shiftNode->set_req(2, phase->intcon(maskedShift)); // Replace shift count with masked value.
phase->igvn_rehash_node_delayed(shiftNode);
}
return maskedShift;