Backed out changeset 0c725d3463f1 (bug 1165052)
authorTooru Fujisawa <arai_a@mac.com>
Mon, 28 Mar 2016 06:49:56 +0900
changeset 290666 64788d3e93a9b95a3111faf76af4a0f7b690d1d6
parent 290665 8e3a42336a3738b82d35e5fb09d9aef347106ba9
child 290667 eab50485823b191b712479eb887c00ed21a0e5a5
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1165052
milestone48.0a1
backs out0c725d3463f112ca08e0c0a05537a6077a915723
Backed out changeset 0c725d3463f1 (bug 1165052)
js/src/builtin/Array.js
--- a/js/src/builtin/Array.js
+++ b/js/src/builtin/Array.js
@@ -925,17 +925,17 @@ function ArraySpeciesCreate(originalArra
 
 // ES 2016 draft Mar 25, 2016 22.1.3.1.
 // Note: Array.prototype.concat.length is 1.
 function ArrayConcat(arg1) {
     // Step 1.
     var O = ToObject(this);
 
     // Step 2.
-    var A = ArraySpeciesCreate(O, 0);
+    var A = std_Array(0);
 
     // Step 3.
     var n = 0;
 
     // Step 4 (implicit in |arguments|).
 
     // Step 5.
     var i = 0, argsLen = arguments.length;