Changeset 271490 in webkit
- Timestamp:
- Jan 14, 2021, 10:12:42 AM (6 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
r271489 r271490 1 2021-01-14 Saam Barati <sbarati@apple.com> 2 3 SpeculativeJIT::compileGetEnumerableLength should not use GPRFlushedCallResult 4 https://bugs.webkit.org/show_bug.cgi?id=220557 5 6 Reviewed by Yusuke Suzuki. 7 8 It wasn't used as the result from a call, so we're overly restricting the 9 register we allocate for no good reason. 10 11 * dfg/DFGSpeculativeJIT.cpp: 12 (JSC::DFG::SpeculativeJIT::compileGetEnumerableLength): 13 1 14 2021-01-14 Saam Barati <sbarati@apple.com> 2 15 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
r271422 r271490 12834 12834 { 12835 12835 SpeculateCellOperand enumerator(this, node->child1()); 12836 GPRFlushedCallResult result(this); 12836 GPRTemporary result(this, Reuse, enumerator); 12837 GPRReg enumeratorGPR = enumerator.gpr(); 12837 12838 GPRReg resultGPR = result.gpr(); 12838 12839 12839 m_jit.load32(MacroAssembler::Address(enumerator .gpr(), JSPropertyNameEnumerator::indexedLengthOffset()), resultGPR);12840 m_jit.load32(MacroAssembler::Address(enumeratorGPR, JSPropertyNameEnumerator::indexedLengthOffset()), resultGPR); 12840 12841 strictInt32Result(resultGPR, node); 12841 12842 }
Note:
See TracChangeset
for help on using the changeset viewer.