Changeset 34087 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- May 23, 2008, 12:34:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r34073 r34087 207 207 for (size_t i = 0; i < functionStack.size(); ++i) { 208 208 FuncDeclNode* funcDecl = functionStack[i]; 209 if (globalObject->hasProperty(exec, funcDecl->m_ident) || symbolTable->contains(funcDecl->m_ident.ustring().rep())) {210 globalObject->putWithAttributes(exec, funcDecl->m_ident, jsUndefined(), 0);211 globalObject->deleteProperty(exec, funcDecl->m_ident);212 }213 209 emitNewFunction(addVar(funcDecl->m_ident, false), funcDecl); 214 210 }
Note:
See TracChangeset
for help on using the changeset viewer.