Changeset 243596 in webkit
- Timestamp:
- Mar 27, 2019, 6:06:01 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
-
JSTests/ChangeLog (modified) (1 diff)
-
JSTests/stress/validate-int-52-ai-state.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/dfg/DFGOSREntry.cpp (modified) (1 diff)
-
Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r243560 r243596 1 2019-03-27 Saam Barati <sbarati@apple.com> 2 3 validateOSREntryValue with Int52 should box the value being checked into double format 4 https://bugs.webkit.org/show_bug.cgi?id=196313 5 <rdar://problem/49306703> 6 7 Reviewed by Yusuke Suzuki. 8 9 * stress/validate-int-52-ai-state.js: Added. 10 1 11 2019-03-27 Yusuke Suzuki <ysuzuki@apple.com> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r243560 r243596 1 2019-03-27 Saam Barati <sbarati@apple.com> 2 3 validateOSREntryValue with Int52 should box the value being checked into double format 4 https://bugs.webkit.org/show_bug.cgi?id=196313 5 <rdar://problem/49306703> 6 7 Reviewed by Yusuke Suzuki. 8 9 * dfg/DFGOSREntry.cpp: 10 (JSC::DFG::prepareOSREntry): 11 * ftl/FTLLowerDFGToB3.cpp: 12 (JSC::FTL::DFG::LowerDFGToB3::validateAIState): 13 1 14 2019-03-27 Yusuke Suzuki <ysuzuki@apple.com> 2 15 -
trunk/Source/JavaScriptCore/dfg/DFGOSREntry.cpp
r242990 r243596 215 215 return nullptr; 216 216 } 217 // Constant AnyInt value is stored as usual boxed value in AbstractValue.217 value = jsDoubleNumber(value.asAnyInt()); 218 218 format = FlushedInt52; 219 219 } -
trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
r243530 r243596 650 650 } else { 651 651 input = JSValue::decode(context.gpr(reg)); 652 if (flushFormat == FlushedInt52) { 653 RELEASE_ASSERT(input.isAnyInt()); 654 input = jsDoubleNumber(input.asAnyInt()); 655 } 652 656 if (!value.validateOSREntryValue(input, flushFormat)) 653 657 dumpAndCrash();
Note:
See TracChangeset
for help on using the changeset viewer.