Changeset 278662 in webkit
- Timestamp:
- Jun 9, 2021, 9:31:25 AM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGSpeculativeJIT.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r278660 r278662 1 2021-06-09 Xan Lopez <xan@igalia.com> 2 3 [JSC] Fix incorrect register reuse in 32bit after r278568 4 https://bugs.webkit.org/show_bug.cgi?id=226817 5 6 Reviewed by Caio Araujo Neponoceno de Lima. 7 8 * dfg/DFGSpeculativeJIT.cpp: 9 (JSC::DFG::SpeculativeJIT::compileNotDoubleNeitherDoubleNorHeapBigIntNorStringStrictEquality): 10 The JSVALUE32_64 branch potentially needs both the tag and payload 11 registers for both left/right nodes, so we cannot reuse any of 12 them for the result since the first thing the code does is set it 13 zero. Just remove the Reuse construction. 14 1 15 2021-06-09 Mikhail R. Gadelha <mikhail@igalia.com> 2 16 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
r278656 r278662 7386 7386 GPRTemporary result(this, Reuse, left, right); 7387 7387 #else 7388 GPRTemporary result(this , Reuse, left, PayloadWord);7388 GPRTemporary result(this); 7389 7389 #endif 7390 7390 JSValueRegs leftRegs = left.jsValueRegs();
Note:
See TracChangeset
for help on using the changeset viewer.