Title: [291602] trunk/Source/_javascript_Core
- Revision
- 291602
- Author
- [email protected]
- Date
- 2022-03-21 20:54:43 -0700 (Mon, 21 Mar 2022)
Log Message
Fix bug in Relationship::mergeImpl
https://bugs.webkit.org/show_bug.cgi?id=238183
<rdar://89822922>
Reviewed by Yusuke Suzuki.
* dfg/DFGIntegerRangeOptimizationPhase.cpp:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (291601 => 291602)
--- trunk/Source/_javascript_Core/ChangeLog 2022-03-22 03:52:50 UTC (rev 291601)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-03-22 03:54:43 UTC (rev 291602)
@@ -1,5 +1,15 @@
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-03-21 Saam Barati <[email protected]>
+
AirFixObviousSpills needs to consider a PreIndex and PostIndex as clobbering the Reg used for indexing
https://bugs.webkit.org/show_bug.cgi?id=238178
<rdar://87345895>
Modified: trunk/Source/_javascript_Core/dfg/DFGIntegerRangeOptimizationPhase.cpp (291601 => 291602)
--- trunk/Source/_javascript_Core/dfg/DFGIntegerRangeOptimizationPhase.cpp 2022-03-22 03:52:50 UTC (rev 291601)
+++ trunk/Source/_javascript_Core/dfg/DFGIntegerRangeOptimizationPhase.cpp 2022-03-22 03:54:43 UTC (rev 291602)
@@ -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