mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-02 20:20:14 +00:00
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:
parent
f5777dc9bd
commit
43a771e998
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user