Changeset 284810 in webkit
- Timestamp:
- Oct 25, 2021, 12:10:06 PM (5 years ago)
- Location:
- branches/safari-612-branch/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGIntegerRangeOptimizationPhase.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-612-branch/Source/JavaScriptCore/ChangeLog
r284809 r284810 1 2021-10-25 Null <null@apple.com> 2 3 Cherry-pick r284623. rdar://problem/84375007 4 5 Add missing overflow check to DFGIntegerRangeOptimizationPhase::filterConstant() 6 https://bugs.webkit.org/show_bug.cgi?id=232058 7 8 Reviewed by Robin Morisset. 9 10 Added overflow check. 11 12 * dfg/DFGIntegerRangeOptimizationPhase.cpp: 13 14 15 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@284623 268f45cc-cd09-0410-ab3c-d52691b4dbfc 16 17 2021-10-21 Michael Saboff <msaboff@apple.com> 18 19 Add missing overflow check to DFGIntegerRangeOptimizationPhase::filterConstant() 20 https://bugs.webkit.org/show_bug.cgi?id=232058 21 22 Reviewed by Robin Morisset. 23 24 Added overflow check. 25 26 * dfg/DFGIntegerRangeOptimizationPhase.cpp: 27 1 28 2021-10-25 Null <null@apple.com> 2 29 -
branches/safari-612-branch/Source/JavaScriptCore/dfg/DFGIntegerRangeOptimizationPhase.cpp
r284809 r284810 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.