Changeset 36518 in webkit for trunk/JavaScriptCore/VM/CTI.cpp


Ignore:
Timestamp:
Sep 16, 2008, 12:32:37 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-16 Alice Liu <[email protected]>

build fix.

  • VM/CTI.cpp: (JSC::CTI::privateCompileMainPass):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CTI.cpp

    r36514 r36518  
    816816        case op_ret: {
    817817            // 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);
    819819            X86Assembler::JmpSrc activation = m_jit.emitUnlinkedJne();
    820820            X86Assembler::JmpDst activated = m_jit.label();
     
    833833            // but is only assigned to ExecState::m_scopeChain if returning to a JSFunction).
    834834            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);
    836836            // Restore the machine return addess from the callframe, roll the callframe back to the caller callframe,
    837837            // and preserve a copy of r on the stack at CTI_ARGS_r.
Note: See TracChangeset for help on using the changeset viewer.