diff options
| author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
|---|---|---|
| committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
| commit | a4e969f4965059196ca948db781e52f7cfebf19e (patch) | |
| tree | 6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/JavaScriptCore/runtime/SetConstructor.h | |
| parent | 41386e9cb918eed93b3f13648cbef387e371e451 (diff) | |
| download | WebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz | |
webkitgtk-2.12.3webkitgtk-2.12.3
Diffstat (limited to 'Source/JavaScriptCore/runtime/SetConstructor.h')
| -rw-r--r-- | Source/JavaScriptCore/runtime/SetConstructor.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/runtime/SetConstructor.h b/Source/JavaScriptCore/runtime/SetConstructor.h index efbd88bb3..42fe3eefc 100644 --- a/Source/JavaScriptCore/runtime/SetConstructor.h +++ b/Source/JavaScriptCore/runtime/SetConstructor.h @@ -31,15 +31,16 @@ namespace JSC { class SetPrototype; +class GetterSetter; class SetConstructor : public InternalFunction { public: typedef InternalFunction Base; - static SetConstructor* create(VM& vm, Structure* structure, SetPrototype* setPrototype) + static SetConstructor* create(VM& vm, Structure* structure, SetPrototype* setPrototype, GetterSetter* speciesSymbol) { SetConstructor* constructor = new (NotNull, allocateCell<SetConstructor>(vm.heap)) SetConstructor(vm, structure); - constructor->finishCreation(vm, setPrototype); + constructor->finishCreation(vm, setPrototype, speciesSymbol); return constructor; } @@ -55,7 +56,7 @@ private: : Base(vm, structure) { } - void finishCreation(VM&, SetPrototype*); + void finishCreation(VM&, SetPrototype*, GetterSetter* speciesSymbol); static ConstructType getConstructData(JSCell*, ConstructData&); static CallType getCallData(JSCell*, CallData&); }; |
