Changeset 284623 in webkit
- Timestamp:
- Oct 21, 2021, 10:54:48 AM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGIntegerRangeOptimizationPhase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r284590 r284623 1 2021-10-21 Michael Saboff <msaboff@apple.com> 2 3 Add missing overflow check to DFGIntegerRangeOptimizationPhase::filterConstant() 4 https://bugs.webkit.org/show_bug.cgi?id=232058 5 6 Reviewed by Robin Morisset. 7 8 Added overflow check. 9 10 * dfg/DFGIntegerRangeOptimizationPhase.cpp: 11 1 12 2021-10-20 Yusuke Suzuki <ysuzuki@apple.com> 2 13 -
trunk/Source/JavaScriptCore/dfg/DFGIntegerRangeOptimizationPhase.cpp
r284585 r284623 569 569 switch (other.m_kind) { 570 570 case Equal: 571 if (differenceOverflows<int>(otherEffectiveRight, thisRight)) 572 return *this; 573 571 574 // Return a version of *this that is Equal to other's constant. 572 575 return Relationship(m_left, m_right, Equal, otherEffectiveRight - thisRight);
Note:
See TracChangeset
for help on using the changeset viewer.