B3::lowerMacros forgets to before->updatePredecessorsAfter() when lowering ChillMod...
[WebKit-https.git] / Source / JavaScriptCore / b3 / B3LowerMacros.cpp
index 573cec7..fa6de93 100644 (file)
@@ -46,6 +46,7 @@
 #include "CCallHelpers.h"
 #include "LinkBuffer.h"
 #include <cmath>
+#include <wtf/BitVector.h>
 
 namespace JSC { namespace B3 {
 
@@ -146,6 +147,7 @@ private:
                     normalResult->setPhi(phi);
                     zeroResult->setPhi(phi);
                     m_value->replaceWithIdentity(phi);
+                    before->updatePredecessorsAfter();
                     m_changed = true;
                 } else
                     makeDivisionChill(Mod);