8176441: assert(false) failed: modified node was not processed by IGVN.transform_old()
authorthartmann
Mon, 13 Mar 2017 12:13:09 +0100
changeset 46325 0fa9327949f8
parent 46324 8764956ec928
child 46326 70de7011f79a
8176441: assert(false) failed: modified node was not processed by IGVN.transform_old() Summary: The shiftNode needs to be added to the IGVN worklist after being modified. Reviewed-by: kvn, vlivanov
hotspot/src/share/vm/opto/mulnode.cpp
--- a/hotspot/src/share/vm/opto/mulnode.cpp	Fri Mar 03 23:08:35 2017 -0800
+++ b/hotspot/src/share/vm/opto/mulnode.cpp	Mon Mar 13 12:13:09 2017 +0100
@@ -648,6 +648,7 @@
 
   if (shift != maskedShift) {
     shiftNode->set_req(2, phase->intcon(maskedShift)); // Replace shift count with masked value.
+    phase->igvn_rehash_node_delayed(shiftNode);
   }
 
   return maskedShift;