Changeset 36518 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Sep 16, 2008, 12:32:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r36514 r36518 816 816 case op_ret: { 817 817 // Check for an activation - if there is one, jump to the hook below. 818 m_jit.cmpl_i32m(0, -( (m_codeBlock->numLocals + RegisterFile::CallFrameHeaderSize - RegisterFile::OptionalCalleeActivation) * sizeof(Register)), X86::edi);818 m_jit.cmpl_i32m(0, -(m_codeBlock->numLocals + RegisterFile::CallFrameHeaderSize - RegisterFile::OptionalCalleeActivation) * sizeof(Register), X86::edi); 819 819 X86Assembler::JmpSrc activation = m_jit.emitUnlinkedJne(); 820 820 X86Assembler::JmpDst activated = m_jit.label(); … … 833 833 // but is only assigned to ExecState::m_scopeChain if returning to a JSFunction). 834 834 emitGetArg(instruction[i + 1].u.operand, X86::eax); 835 m_jit.movl_mr(-( (m_codeBlock->numLocals + RegisterFile::CallFrameHeaderSize - RegisterFile::CallerScopeChain) * sizeof(Register)), X86::edi, X86::edx);835 m_jit.movl_mr(-(m_codeBlock->numLocals + RegisterFile::CallFrameHeaderSize - RegisterFile::CallerScopeChain) * sizeof(Register), X86::edi, X86::edx); 836 836 // Restore the machine return addess from the callframe, roll the callframe back to the caller callframe, 837 837 // and preserve a copy of r on the stack at CTI_ARGS_r.
Note:
See TracChangeset
for help on using the changeset viewer.