| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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", | 188 "ErrorToString", |
| 189 "GetIterator", | 189 "GetIterator", |
| 190 "GetMethod", | 190 "GetMethod", |
| 191 "GlobalPromise", |
| 191 "IntlParseDate", | 192 "IntlParseDate", |
| 192 "IntlParseNumber", | 193 "IntlParseNumber", |
| 193 "IsNaN", | 194 "IsNaN", |
| 194 "MakeError", | 195 "MakeError", |
| 195 "MakeRangeError", | 196 "MakeRangeError", |
| 196 "MakeTypeError", | 197 "MakeTypeError", |
| 197 "MapEntries", | 198 "MapEntries", |
| 198 "MapIterator", | 199 "MapIterator", |
| 199 "MapIteratorNext", | 200 "MapIteratorNext", |
| 200 "MaxSimple", | 201 "MaxSimple", |
| 201 "MinSimple", | 202 "MinSimple", |
| 203 "NewPromiseCapability", |
| 202 "NumberIsInteger", | 204 "NumberIsInteger", |
| 205 "PerformPromiseThen", |
| 203 "PromiseChain", | 206 "PromiseChain", |
| 204 "PromiseDefer", | 207 "PromiseDefer", |
| 205 "PromiseAccept", | 208 "PromiseAccept", |
| 206 "PromiseCreateRejected", | 209 "PromiseCreateRejected", |
| 207 "PromiseCreateResolved", | 210 "PromiseCreateResolved", |
| 208 "PromiseThen", | 211 "PromiseThen", |
| 209 "RegExpSubclassExecJS", | 212 "RegExpSubclassExecJS", |
| 210 "RegExpSubclassMatch", | 213 "RegExpSubclassMatch", |
| 211 "RegExpSubclassReplace", | 214 "RegExpSubclassReplace", |
| 212 "RegExpSubclassSearch", | 215 "RegExpSubclassSearch", |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 | 360 |
| 358 extrasUtils.uncurryThis = function uncurryThis(func) { | 361 extrasUtils.uncurryThis = function uncurryThis(func) { |
| 359 return function(thisArg, ...args) { | 362 return function(thisArg, ...args) { |
| 360 return %reflect_apply(func, thisArg, args); | 363 return %reflect_apply(func, thisArg, args); |
| 361 }; | 364 }; |
| 362 }; | 365 }; |
| 363 | 366 |
| 364 %ToFastProperties(extrasUtils); | 367 %ToFastProperties(extrasUtils); |
| 365 | 368 |
| 366 }) | 369 }) |
| OLD | NEW |