Title: [292649] branches/safari-613-branch/Source/_javascript_Core
Revision
292649
Author
[email protected]
Date
2022-04-08 17:13:19 -0700 (Fri, 08 Apr 2022)

Log Message

Cherry-pick r291602. rdar://problem/89822922

    Fix bug in Relationship::mergeImpl
    https://bugs.webkit.org/show_bug.cgi?id=238183
    <rdar://89822922>

    Reviewed by Yusuke Suzuki.

    * dfg/DFGIntegerRangeOptimizationPhase.cpp:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291602 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/_javascript_Core/ChangeLog (292648 => 292649)


--- branches/safari-613-branch/Source/_javascript_Core/ChangeLog	2022-04-09 00:13:17 UTC (rev 292648)
+++ branches/safari-613-branch/Source/_javascript_Core/ChangeLog	2022-04-09 00:13:19 UTC (rev 292649)
@@ -1,5 +1,30 @@
 2022-04-07  Alan Coon  <[email protected]>
 
+        Cherry-pick r291602. rdar://problem/89822922
+
+    Fix bug in Relationship::mergeImpl
+    https://bugs.webkit.org/show_bug.cgi?id=238183
+    <rdar://89822922>
+    
+    Reviewed by Yusuke Suzuki.
+    
+    * dfg/DFGIntegerRangeOptimizationPhase.cpp:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2022-03-21  Saam Barati  <[email protected]>
+
+            Fix bug in Relationship::mergeImpl
+            https://bugs.webkit.org/show_bug.cgi?id=238183
+            <rdar://89822922>
+
+            Reviewed by Yusuke Suzuki.
+
+            * dfg/DFGIntegerRangeOptimizationPhase.cpp:
+
+2022-04-07  Alan Coon  <[email protected]>
+
         Cherry-pick r291601. rdar://problem/87345895
 
     AirFixObviousSpills needs to consider a PreIndex and PostIndex as clobbering the Reg used for indexing

Modified: branches/safari-613-branch/Source/_javascript_Core/dfg/DFGIntegerRangeOptimizationPhase.cpp (292648 => 292649)


--- branches/safari-613-branch/Source/_javascript_Core/dfg/DFGIntegerRangeOptimizationPhase.cpp	2022-04-09 00:13:17 UTC (rev 292648)
+++ branches/safari-613-branch/Source/_javascript_Core/dfg/DFGIntegerRangeOptimizationPhase.cpp	2022-04-09 00:13:19 UTC (rev 292649)
@@ -749,6 +749,9 @@
             //
             //     @a < @b + max(C, D + 1)
             
+            if (sumOverflows<int32_t>(other.m_offset, 1))
+                return Relationship();
+
             int bestOffset = std::max(m_offset, other.m_offset + 1);
             
             // We have something like @a < @b + 2. We can't do it.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to