Changeset 34580 in webkit for trunk/JavaScriptCore/kjs/object_object.cpp
- Timestamp:
- Jun 15, 2008, 8:02:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object_object.cpp
r33979 r34580 133 133 } 134 134 135 // ------------------------------ Object ObjectImp--------------------------------135 // ------------------------------ ObjectConstructor -------------------------------- 136 136 137 Object ObjectImp::ObjectObjectImp(ExecState* exec, ObjectPrototype* objProto, FunctionPrototype* funcProto)138 : InternalFunction Imp(funcProto, "Object")137 ObjectConstructor::ObjectConstructor(ExecState* exec, ObjectPrototype* objProto, FunctionPrototype* funcProto) 138 : InternalFunction(funcProto, "Object") 139 139 { 140 140 // ECMA 15.2.3.1 … … 145 145 } 146 146 147 ConstructType Object ObjectImp::getConstructData(ConstructData&)147 ConstructType ObjectConstructor::getConstructData(ConstructData&) 148 148 { 149 149 return ConstructTypeNative; … … 151 151 152 152 // ECMA 15.2.2 153 JSObject* Object ObjectImp::construct(ExecState* exec, const List& args)153 JSObject* ObjectConstructor::construct(ExecState* exec, const List& args) 154 154 { 155 155 JSValue* arg = args[0]; … … 169 169 } 170 170 171 JSValue* Object ObjectImp::callAsFunction(ExecState* exec, JSObject* /*thisObj*/, const List &args)171 JSValue* ObjectConstructor::callAsFunction(ExecState* exec, JSObject* /*thisObj*/, const List &args) 172 172 { 173 173 return construct(exec, args);
Note:
See TracChangeset
for help on using the changeset viewer.