Changeset 26715 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Oct 17, 2007, 2:01:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r26689 r26715 2497 2497 2498 2498 // TODO: let this be an object with [[Class]] property "Function" 2499 FunctionImp *func = new DeclaredFunctionImp(exec, ident, body.get(), context->scopeChain());2499 FunctionImp *func = new FunctionImp(exec, ident, body.get(), context->scopeChain()); 2500 2500 2501 2501 JSObject *proto = exec->lexicalInterpreter()->builtinObject()->construct(exec, List::empty()); … … 2537 2537 } 2538 2538 2539 FunctionImp* func = new DeclaredFunctionImp(exec, ident, body.get(), context->scopeChain());2539 FunctionImp* func = new FunctionImp(exec, ident, body.get(), context->scopeChain()); 2540 2540 JSObject* proto = exec->lexicalInterpreter()->builtinObject()->construct(exec, List::empty()); 2541 2541 proto->put(exec, exec->propertyNames().constructor, func, ReadOnly | DontDelete | DontEnum);
Note:
See TracChangeset
for help on using the changeset viewer.