diff options
Diffstat (limited to 'deps/v8/src/js/collection.js')
-rw-r--r-- | deps/v8/src/js/collection.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/deps/v8/src/js/collection.js b/deps/v8/src/js/collection.js index a4ae904771..adb2688618 100644 --- a/deps/v8/src/js/collection.js +++ b/deps/v8/src/js/collection.js @@ -17,7 +17,6 @@ var hashCodeSymbol = utils.ImportNow("hash_code_symbol"); var MathRandom = global.Math.random; var MapIterator; var SetIterator; -var speciesSymbol = utils.ImportNow("species_symbol"); var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); utils.Import(function(from) { @@ -251,12 +250,6 @@ function SetForEach(f, receiver) { } } - -function SetSpecies() { - return this; -} - - // ------------------------------------------------------------------- %SetCode(GlobalSet, SetConstructor); @@ -268,8 +261,6 @@ function SetSpecies() { %FunctionSetLength(SetForEach, 1); -utils.InstallGetter(GlobalSet, speciesSymbol, SetSpecies); - // Set up the non-enumerable functions on the Set prototype object. utils.InstallGetter(GlobalSet.prototype, "size", SetGetSize); utils.InstallFunctions(GlobalSet.prototype, DONT_ENUM, [ @@ -439,11 +430,6 @@ function MapForEach(f, receiver) { } } - -function MapSpecies() { - return this; -} - // ------------------------------------------------------------------- %SetCode(GlobalMap, MapConstructor); @@ -455,8 +441,6 @@ function MapSpecies() { %FunctionSetLength(MapForEach, 1); -utils.InstallGetter(GlobalMap, speciesSymbol, MapSpecies); - // Set up the non-enumerable functions on the Map prototype object. utils.InstallGetter(GlobalMap.prototype, "size", MapGetSize); utils.InstallFunctions(GlobalMap.prototype, DONT_ENUM, [ |