| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 "IsNaN", | 202 "IsNaN", |
| 203 "MathMax", | 203 "MathMax", |
| 204 "MathMin", | 204 "MathMin", |
| 205 "ObjectIsFrozen", | 205 "ObjectIsFrozen", |
| 206 "ObjectDefineProperty", | 206 "ObjectDefineProperty", |
| 207 "OwnPropertyKeys", | 207 "OwnPropertyKeys", |
| 208 "ToNameArray", | 208 "ToNameArray", |
| 209 "ToBoolean", | 209 "ToBoolean", |
| 210 "ToNumber", | 210 "ToNumber", |
| 211 "ToString", | 211 "ToString", |
| 212 "Float32x4ToString", |
| 213 "Int32x4ToString", |
| 214 "Int16x8ToString", |
| 215 "Int8x16ToString", |
| 216 "Uint32x4ToString", |
| 217 "Uint16x8ToString", |
| 218 "Uint8x16ToString", |
| 219 "Bool32x4ToString", |
| 220 "Bool16x8ToString", |
| 221 "Bool8x16ToString", |
| 212 ]; | 222 ]; |
| 213 | 223 |
| 214 var filtered_exports = {}; | 224 var filtered_exports = {}; |
| 215 %OptimizeObjectForAddingMultipleProperties( | 225 %OptimizeObjectForAddingMultipleProperties( |
| 216 filtered_exports, expose_list.length); | 226 filtered_exports, expose_list.length); |
| 217 for (var key of expose_list) { | 227 for (var key of expose_list) { |
| 218 filtered_exports[key] = exports_container[key]; | 228 filtered_exports[key] = exports_container[key]; |
| 219 } | 229 } |
| 220 %ToFastProperties(filtered_exports); | 230 %ToFastProperties(filtered_exports); |
| 221 exports_container = filtered_exports; | 231 exports_container = filtered_exports; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 utils.InstallGetter = InstallGetter; | 292 utils.InstallGetter = InstallGetter; |
| 283 utils.InstallGetterSetter = InstallGetterSetter; | 293 utils.InstallGetterSetter = InstallGetterSetter; |
| 284 utils.SetUpLockedPrototype = SetUpLockedPrototype; | 294 utils.SetUpLockedPrototype = SetUpLockedPrototype; |
| 285 utils.PostNatives = PostNatives; | 295 utils.PostNatives = PostNatives; |
| 286 utils.PostExperimentals = PostExperimentals; | 296 utils.PostExperimentals = PostExperimentals; |
| 287 utils.PostDebug = PostDebug; | 297 utils.PostDebug = PostDebug; |
| 288 | 298 |
| 289 %ToFastProperties(utils); | 299 %ToFastProperties(utils); |
| 290 | 300 |
| 291 }) | 301 }) |
| OLD | NEW |