Changeset 34578 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Jun 15, 2008, 7:19:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r34563 r34578 1708 1708 } 1709 1709 1710 FunctionImp* FuncDeclNode::makeFunction(ExecState* exec, ScopeChainNode* scopeChain)1711 { 1712 FunctionImp* func = new FunctionImp(exec, m_ident, m_body.get(), scopeChain);1710 JSFunction* FuncDeclNode::makeFunction(ExecState* exec, ScopeChainNode* scopeChain) 1711 { 1712 JSFunction* func = new JSFunction(exec, m_ident, m_body.get(), scopeChain); 1713 1713 1714 1714 JSObject* proto = exec->lexicalGlobalObject()->objectConstructor()->construct(exec, exec->emptyList()); … … 1731 1731 } 1732 1732 1733 FunctionImp* FuncExprNode::makeFunction(ExecState* exec, ScopeChainNode* scopeChain)1734 { 1735 FunctionImp* func = new FunctionImp(exec, m_ident, m_body.get(), scopeChain);1733 JSFunction* FuncExprNode::makeFunction(ExecState* exec, ScopeChainNode* scopeChain) 1734 { 1735 JSFunction* func = new JSFunction(exec, m_ident, m_body.get(), scopeChain); 1736 1736 JSObject* proto = exec->lexicalGlobalObject()->objectConstructor()->construct(exec, exec->emptyList()); 1737 1737 proto->putDirect(exec->propertyNames().constructor, func, DontEnum);
Note:
See TracChangeset
for help on using the changeset viewer.