Changeset 35022 in webkit for trunk/JavaScriptCore/kjs/ArrayConstructor.cpp
- Timestamp:
- Jul 5, 2008, 10:26:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ArrayConstructor.cpp
r34876 r35022 32 32 namespace KJS { 33 33 34 ArrayConstructor::ArrayConstructor(ExecState* exec, FunctionPrototype* func Proto, ArrayPrototype* arrayProto)35 : InternalFunction(func Proto, Identifier(exec, arrayProto->classInfo()->className))34 ArrayConstructor::ArrayConstructor(ExecState* exec, FunctionPrototype* functionPrototype, ArrayPrototype* arrayPrototype) 35 : InternalFunction(functionPrototype, Identifier(exec, arrayPrototype->classInfo()->className)) 36 36 { 37 37 // ECMA 15.4.3.1 Array.prototype 38 putDirect(exec->propertyNames().prototype, arrayProto , DontEnum|DontDelete|ReadOnly);38 putDirect(exec->propertyNames().prototype, arrayPrototype, DontEnum | DontDelete | ReadOnly); 39 39 40 40 // no. of arguments for constructor … … 81 81 } 82 82 83 } 83 } // namespace KJS
Note:
See TracChangeset
for help on using the changeset viewer.