Changeset 199052 in webkit
- Timestamp:
- Apr 4, 2016, 11:30:02 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGSpeculativeJIT.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r199035 r199052 1 2016-04-04 Zan Dobersek <zdobersek@igalia.com> 2 3 Add missing EABI_32BIT_DUMMY_ARG arguments for some callOperation(J_JITOperation_EGReoJ, ...) overloads 4 https://bugs.webkit.org/show_bug.cgi?id=156161 5 6 Reviewed by Yusuke Suzuki. 7 8 r197641 added a couple of callOperation(J_JITOperation_EGReoJ, ...) overloads 9 that handle arguments split into the tag and the payload. The two were split 10 between the last argument register and the stack on 32-bit ARM EABI systems, 11 causing incorrect behavior. 12 13 Adding EABI_32BIT_DUMMY_ARG pushes the tag and payload together onto the 14 stack, removing the issue. 15 16 * dfg/DFGSpeculativeJIT.h: 17 (JSC::DFG::SpeculativeJIT::callOperation): 18 1 19 2016-04-04 Joseph Pecoraro <pecoraro@apple.com> 2 20 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h
r198981 r199052 1740 1740 JITCompiler::Call callOperation(J_JITOperation_EGReoJ operation, GPRReg resultTag, GPRReg resultPayload, GPRReg arg1, GPRReg arg2, GPRReg arg3Tag, GPRReg arg3Payload) 1741 1741 { 1742 m_jit.setupArgumentsWithExecState(arg1, arg2, arg3Payload, arg3Tag);1742 m_jit.setupArgumentsWithExecState(arg1, arg2, EABI_32BIT_DUMMY_ARG arg3Payload, arg3Tag); 1743 1743 return appendCallSetResult(operation, resultPayload, resultTag); 1744 1744 } … … 1852 1852 JITCompiler::Call callOperation(S_JITOperation_EGReoJ operation, GPRReg result, GPRReg arg1, GPRReg arg2, GPRReg arg3Tag, GPRReg arg3Payload) 1853 1853 { 1854 m_jit.setupArgumentsWithExecState(arg1, arg2, arg3Payload, arg3Tag);1854 m_jit.setupArgumentsWithExecState(arg1, arg2, EABI_32BIT_DUMMY_ARG arg3Payload, arg3Tag); 1855 1855 return appendCallSetResult(operation, result); 1856 1856 }
Note:
See TracChangeset
for help on using the changeset viewer.