From 32761a6cee1d0dee366b885b7b9c777e67885688 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sun, 10 Apr 2016 09:28:39 +0000 Subject: webkitgtk-2.4.11 --- Source/JavaScriptCore/runtime/ArrayConstructor.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Source/JavaScriptCore/runtime/ArrayConstructor.h') diff --git a/Source/JavaScriptCore/runtime/ArrayConstructor.h b/Source/JavaScriptCore/runtime/ArrayConstructor.h index 5256a52da..a6ac76ea4 100644 --- a/Source/JavaScriptCore/runtime/ArrayConstructor.h +++ b/Source/JavaScriptCore/runtime/ArrayConstructor.h @@ -28,17 +28,15 @@ namespace JSC { class ArrayAllocationProfile; class ArrayPrototype; class JSArray; -class GetterSetter; class ArrayConstructor : public InternalFunction { public: typedef InternalFunction Base; - static const unsigned StructureFlags = OverridesGetOwnPropertySlot | InternalFunction::StructureFlags; - static ArrayConstructor* create(VM& vm, Structure* structure, ArrayPrototype* arrayPrototype, GetterSetter* speciesSymbol) + static ArrayConstructor* create(VM& vm, Structure* structure, ArrayPrototype* arrayPrototype) { ArrayConstructor* constructor = new (NotNull, allocateCell(vm.heap)) ArrayConstructor(vm, structure); - constructor->finishCreation(vm, arrayPrototype, speciesSymbol); + constructor->finishCreation(vm, arrayPrototype); return constructor; } @@ -50,7 +48,8 @@ public: } protected: - void finishCreation(VM&, ArrayPrototype*, GetterSetter* speciesSymbol); + void finishCreation(VM&, ArrayPrototype*); + static const unsigned StructureFlags = OverridesGetOwnPropertySlot | InternalFunction::StructureFlags; private: ArrayConstructor(VM&, Structure*); @@ -60,7 +59,7 @@ private: static CallType getCallData(JSCell*, CallData&); }; -JSObject* constructArrayWithSizeQuirk(ExecState*, ArrayAllocationProfile*, JSGlobalObject*, JSValue length, JSValue prototype = JSValue()); +JSObject* constructArrayWithSizeQuirk(ExecState*, ArrayAllocationProfile*, JSGlobalObject*, JSValue); } // namespace JSC -- cgit v1.2.1