Ignore:
Timestamp:
Nov 12, 2009, 4:28:29 PM (16 years ago)
Author:
[email protected]
Message:

Rollout r50896 until i can work out why it causes failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r50896 r50916  
    15111511RegisterID* BytecodeGenerator::emitReturn(RegisterID* src)
    15121512{
    1513     if (codeType() == FunctionCode) {
    1514         if (m_codeBlock->needsFullScopeChain()) {
    1515             emitOpcode(op_tear_off_activation);
    1516             instructions().append(m_activationRegisterIndex);
    1517         } else if (m_codeBlock->usesArguments() && m_codeBlock->m_numParameters > 1)
    1518             emitOpcode(op_tear_off_arguments);
    1519     }
     1513    if (m_codeBlock->needsFullScopeChain()) {
     1514        emitOpcode(op_tear_off_activation);
     1515        instructions().append(m_activationRegisterIndex);
     1516    } else if (m_codeBlock->usesArguments() && m_codeBlock->m_numParameters > 1)
     1517        emitOpcode(op_tear_off_arguments);
    15201518
    15211519    return emitUnaryNoDstOp(op_ret, src);
Note: See TracChangeset for help on using the changeset viewer.