Changeset 94478 in webkit for trunk/Source/JavaScriptCore
- Timestamp:
- Sep 2, 2011, 10:23:35 PM (14 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r94477 r94478 1 2011-09-02 Filip Pizlo <[email protected]> 2 3 DFG JIT speculation failure does recovery of additions in reverse and 4 doesn't rebox 5 https://bugs.webkit.org/show_bug.cgi?id=67551 6 7 Reviewed by Sam Weinig. 8 9 * dfg/DFGJITCompiler.cpp: 10 (JSC::DFG::JITCompiler::jumpFromSpeculativeToNonSpeculative): 11 1 12 2011-09-02 Filip Pizlo <[email protected]> 2 13 -
trunk/Source/JavaScriptCore/dfg/DFGJITCompiler.cpp
r93698 r94478 496 496 // The only additional recovery we currently support is for integer add operation 497 497 ASSERT(recovery->type() == SpeculativeAdd); 498 ASSERT(check.m_gprInfo[GPRInfo::toIndex(recovery->dest())].nodeIndex != NoNode); 498 499 // Revert the add. 499 500 sub32(recovery->src(), recovery->dest()); 501 502 // If recovery->dest() should have been boxed prior to the addition, then rebox 503 // it. 504 DataFormat format = check.m_gprInfo[GPRInfo::toIndex(recovery->dest())].format; 505 ASSERT(format == DataFormatInteger || format == DataFormatJSInteger || format == DataFormatJS); 506 if (format != DataFormatInteger) 507 orPtr(GPRInfo::tagTypeNumberRegister, recovery->dest()); 500 508 } 501 509
Note:
See TracChangeset
for help on using the changeset viewer.