| 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, extrasUtils) { | 5 (function(global, utils, extrasUtils) { |
| 6 | 6 |
| 7 "use strict"; | 7 "use strict"; |
| 8 | 8 |
| 9 %CheckIsBootstrapping(); | 9 %CheckIsBootstrapping(); |
| 10 | 10 |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 %CheckIsBootstrapping(); | 259 %CheckIsBootstrapping(); |
| 260 %ExportExperimentalFromRuntime(exports_container); | 260 %ExportExperimentalFromRuntime(exports_container); |
| 261 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { | 261 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { |
| 262 imports(exports_container); | 262 imports(exports_container); |
| 263 } | 263 } |
| 264 for ( ; !IS_UNDEFINED(imports_from_experimental); | 264 for ( ; !IS_UNDEFINED(imports_from_experimental); |
| 265 imports_from_experimental = imports_from_experimental.next) { | 265 imports_from_experimental = imports_from_experimental.next) { |
| 266 imports_from_experimental(exports_container); | 266 imports_from_experimental(exports_container); |
| 267 } | 267 } |
| 268 | 268 |
| 269 utils.CreateDoubleResultArray(); | |
| 270 utils.CreateDoubleResultArray = UNDEFINED; | |
| 271 | |
| 272 utils.Export = UNDEFINED; | 269 utils.Export = UNDEFINED; |
| 273 utils.PostDebug = UNDEFINED; | 270 utils.PostDebug = UNDEFINED; |
| 274 utils.PostExperimentals = UNDEFINED; | 271 utils.PostExperimentals = UNDEFINED; |
| 275 typed_array_setup = UNDEFINED; | 272 typed_array_setup = UNDEFINED; |
| 276 } | 273 } |
| 277 | 274 |
| 278 | 275 |
| 279 function PostDebug(utils) { | 276 function PostDebug(utils) { |
| 280 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { | 277 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { |
| 281 imports(exports_container); | 278 imports(exports_container); |
| 282 } | 279 } |
| 283 | 280 |
| 284 utils.CreateDoubleResultArray(); | |
| 285 utils.CreateDoubleResultArray = UNDEFINED; | |
| 286 | |
| 287 exports_container = UNDEFINED; | 281 exports_container = UNDEFINED; |
| 288 | 282 |
| 289 utils.Export = UNDEFINED; | 283 utils.Export = UNDEFINED; |
| 290 utils.Import = UNDEFINED; | 284 utils.Import = UNDEFINED; |
| 291 utils.ImportNow = UNDEFINED; | 285 utils.ImportNow = UNDEFINED; |
| 292 utils.PostDebug = UNDEFINED; | 286 utils.PostDebug = UNDEFINED; |
| 293 utils.PostExperimentals = UNDEFINED; | 287 utils.PostExperimentals = UNDEFINED; |
| 294 typed_array_setup = UNDEFINED; | 288 typed_array_setup = UNDEFINED; |
| 295 } | 289 } |
| 296 | 290 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 | 358 |
| 365 extrasUtils.uncurryThis = function uncurryThis(func) { | 359 extrasUtils.uncurryThis = function uncurryThis(func) { |
| 366 return function(thisArg, ...args) { | 360 return function(thisArg, ...args) { |
| 367 return %reflect_apply(func, thisArg, args); | 361 return %reflect_apply(func, thisArg, args); |
| 368 }; | 362 }; |
| 369 }; | 363 }; |
| 370 | 364 |
| 371 %ToFastProperties(extrasUtils); | 365 %ToFastProperties(extrasUtils); |
| 372 | 366 |
| 373 }) | 367 }) |
| OLD | NEW |