| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { | 178 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { |
| 179 imports(exports_container); | 179 imports(exports_container); |
| 180 } | 180 } |
| 181 | 181 |
| 182 // Whitelist of exports from normal natives to experimental natives and debug. | 182 // Whitelist of exports from normal natives to experimental natives and debug. |
| 183 var expose_list = [ | 183 var expose_list = [ |
| 184 "AddBoundMethod", | 184 "AddBoundMethod", |
| 185 "ArrayToString", | 185 "ArrayToString", |
| 186 "AsyncFunctionNext", | 186 "AsyncFunctionNext", |
| 187 "AsyncFunctionThrow", | 187 "AsyncFunctionThrow", |
| 188 "ErrorToString", | |
| 189 "GetIterator", | 188 "GetIterator", |
| 190 "GetMethod", | 189 "GetMethod", |
| 191 "IntlParseDate", | 190 "IntlParseDate", |
| 192 "IntlParseNumber", | 191 "IntlParseNumber", |
| 193 "IsNaN", | 192 "IsNaN", |
| 194 "MakeError", | 193 "MakeError", |
| 195 "MakeRangeError", | 194 "MakeRangeError", |
| 196 "MakeTypeError", | 195 "MakeTypeError", |
| 197 "MapEntries", | 196 "MapEntries", |
| 198 "MapIterator", | 197 "MapIterator", |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 | 356 |
| 358 extrasUtils.uncurryThis = function uncurryThis(func) { | 357 extrasUtils.uncurryThis = function uncurryThis(func) { |
| 359 return function(thisArg, ...args) { | 358 return function(thisArg, ...args) { |
| 360 return %reflect_apply(func, thisArg, args); | 359 return %reflect_apply(func, thisArg, args); |
| 361 }; | 360 }; |
| 362 }; | 361 }; |
| 363 | 362 |
| 364 %ToFastProperties(extrasUtils); | 363 %ToFastProperties(extrasUtils); |
| 365 | 364 |
| 366 }) | 365 }) |
| OLD | NEW |