OLD | NEW |
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 Loading... |
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 Loading... |
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 }) |
OLD | NEW |