Changeset 179875 in webkit
- Timestamp:
- Feb 10, 2015, 11:48:56 AM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGSpeculativeJIT.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r179873 r179875 1 2015-02-10 Filip Pizlo <fpizlo@apple.com> 2 3 Remove unused DFG::SpeculativeJIT::calleeFrameOffset(). 4 5 Rubber stamped by Michael Saboff. 6 7 Not only was this not used, I believe that the math was wrong. The callee frame doesn't 8 actually land past m_nextMachineLocal; instead it lands just below wherever we put SP and 9 that decision is made elsewhere. Also, it makes no sense to subtract 1 from 10 m_nextMachineLocal when trying to deduce the number of in-use stack slots. 11 12 * dfg/DFGSpeculativeJIT.h: 13 (JSC::DFG::SpeculativeJIT::calleeFrameOffset): Deleted. 14 1 15 2015-02-10 Saam Barati <saambarati1@gmail.com> 2 16 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h
r177146 r179875 717 717 void compileInstanceOfForObject(Node*, GPRReg valueReg, GPRReg prototypeReg, GPRReg scratchAndResultReg, GPRReg scratch2Reg); 718 718 void compileInstanceOf(Node*); 719 720 ptrdiff_t calleeFrameOffset(int numArgs)721 {722 return virtualRegisterForLocal(m_jit.graph().m_nextMachineLocal - 1 + JSStack::CallFrameHeaderSize + numArgs).offset() * sizeof(Register);723 }724 719 725 720 // Access to our fixed callee CallFrame.
Note:
See TracChangeset
for help on using the changeset viewer.