Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Side by Side Diff: src/prologue.js

Issue 1181623003: In Array.of and Array.from, fall back to DefineOwnProperty (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix %AddElement call, changed in rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/harmony-array.js ('k') | test/mjsunit/harmony/array-from.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils) { 5 (function(global, utils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "InnerArrayReduce", 167 "InnerArrayReduce",
168 "InnerArrayReduceRight", 168 "InnerArrayReduceRight",
169 "InnerArrayReverse", 169 "InnerArrayReverse",
170 "InnerArraySome", 170 "InnerArraySome",
171 "InnerArraySort", 171 "InnerArraySort",
172 "InnerArrayToLocaleString", 172 "InnerArrayToLocaleString",
173 "IsNaN", 173 "IsNaN",
174 "MathMax", 174 "MathMax",
175 "MathMin", 175 "MathMin",
176 "ObjectIsFrozen", 176 "ObjectIsFrozen",
177 "ObjectDefineProperty",
177 "OwnPropertyKeys", 178 "OwnPropertyKeys",
178 "ToNameArray", 179 "ToNameArray",
179 ]; 180 ];
180 experimental_exports = {}; 181 experimental_exports = {};
181 %OptimizeObjectForAddingMultipleProperties( 182 %OptimizeObjectForAddingMultipleProperties(
182 experimental_exports, expose_to_experimental.length); 183 experimental_exports, expose_to_experimental.length);
183 for (var key of expose_to_experimental) { 184 for (var key of expose_to_experimental) {
184 experimental_exports[key] = container[key]; 185 experimental_exports[key] = container[key];
185 } 186 }
186 %ToFastProperties(experimental_exports); 187 %ToFastProperties(experimental_exports);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 "InstallConstants", InstallConstants, 223 "InstallConstants", InstallConstants,
223 "InstallFunctions", InstallFunctions, 224 "InstallFunctions", InstallFunctions,
224 "InstallGetter", InstallGetter, 225 "InstallGetter", InstallGetter,
225 "InstallGetterSetter", InstallGetterSetter, 226 "InstallGetterSetter", InstallGetterSetter,
226 "SetUpLockedPrototype", SetUpLockedPrototype, 227 "SetUpLockedPrototype", SetUpLockedPrototype,
227 "PostNatives", PostNatives, 228 "PostNatives", PostNatives,
228 "PostExperimentals", PostExperimentals, 229 "PostExperimentals", PostExperimentals,
229 ]); 230 ]);
230 231
231 }) 232 })
OLDNEW
« no previous file with comments | « src/harmony-array.js ('k') | test/mjsunit/harmony/array-from.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698