Changeset 34580 in webkit for trunk/JavaScriptCore/kjs/array_object.cpp
- Timestamp:
- Jun 15, 2008, 8:02:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/array_object.cpp
r34578 r34580 724 724 } 725 725 726 // ------------------------------ Array ObjectImp-------------------------------727 728 Array ObjectImp::ArrayObjectImp(ExecState* exec, FunctionPrototype* funcProto, ArrayPrototype* arrayProto)729 : InternalFunction Imp(funcProto, arrayProto->classInfo()->className)726 // ------------------------------ ArrayConstructor ------------------------------- 727 728 ArrayConstructor::ArrayConstructor(ExecState* exec, FunctionPrototype* funcProto, ArrayPrototype* arrayProto) 729 : InternalFunction(funcProto, arrayProto->classInfo()->className) 730 730 { 731 731 // ECMA 15.4.3.1 Array.prototype … … 736 736 } 737 737 738 ConstructType Array ObjectImp::getConstructData(ConstructData&)738 ConstructType ArrayConstructor::getConstructData(ConstructData&) 739 739 { 740 740 return ConstructTypeNative; … … 742 742 743 743 // ECMA 15.4.2 744 JSObject* Array ObjectImp::construct(ExecState* exec, const List& args)744 JSObject* ArrayConstructor::construct(ExecState* exec, const List& args) 745 745 { 746 746 // a single numeric argument denotes the array size (!) … … 757 757 758 758 // ECMA 15.6.1 759 JSValue* Array ObjectImp::callAsFunction(ExecState* exec, JSObject*, const List& args)759 JSValue* ArrayConstructor::callAsFunction(ExecState* exec, JSObject*, const List& args) 760 760 { 761 761 // equivalent to 'new Array(....)'
Note:
See TracChangeset
for help on using the changeset viewer.