Changeset 50916 in webkit for trunk/JavaScriptCore/bytecompiler
- Timestamp:
- Nov 12, 2009, 4:28:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r50896 r50916 1511 1511 RegisterID* BytecodeGenerator::emitReturn(RegisterID* src) 1512 1512 { 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); 1520 1518 1521 1519 return emitUnaryNoDstOp(op_ret, src);
Note:
See TracChangeset
for help on using the changeset viewer.