Changeset 37160 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Oct 1, 2008, 3:18:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r37117 r37160 293 293 codeBlock->globalData = m_globalData; 294 294 295 if (functionBody->usesArguments()) { 295 bool usesArguments = functionBody->usesArguments(); 296 codeBlock->usesArguments = usesArguments; 297 if (usesArguments) { 296 298 emitOpcode(op_init_arguments); 297 m_codeBlock->needsFullScopeChain = true;298 299 m_argumentsRegister.setIndex(RegisterFile::OptionalCalleeArguments); 299 symbolTable->add(propertyNames().arguments.ustring().rep(), SymbolTableEntry(RegisterFile::OptionalCalleeArguments));300 addVar(propertyNames().arguments, false); 300 301 } 301 302
Note:
See TracChangeset
for help on using the changeset viewer.