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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "GetIterator", | 188 "GetIterator", |
189 "GetMethod", | 189 "GetMethod", |
190 "IntlParseDate", | 190 "IntlParseDate", |
191 "IntlParseNumber", | 191 "IntlParseNumber", |
192 "IsNaN", | 192 "IsNaN", |
193 "MakeError", | |
194 "MakeRangeError", | |
195 "MakeTypeError", | |
196 "MapEntries", | 193 "MapEntries", |
197 "MapIterator", | 194 "MapIterator", |
198 "MapIteratorNext", | 195 "MapIteratorNext", |
199 "MaxSimple", | 196 "MaxSimple", |
200 "MinSimple", | 197 "MinSimple", |
201 "NumberIsInteger", | 198 "NumberIsInteger", |
202 "PromiseChain", | 199 "PromiseChain", |
203 "PromiseDefer", | 200 "PromiseDefer", |
204 "PromiseAccept", | 201 "PromiseAccept", |
205 "PromiseCreateRejected", | 202 "PromiseCreateRejected", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 | 353 |
357 extrasUtils.uncurryThis = function uncurryThis(func) { | 354 extrasUtils.uncurryThis = function uncurryThis(func) { |
358 return function(thisArg, ...args) { | 355 return function(thisArg, ...args) { |
359 return %reflect_apply(func, thisArg, args); | 356 return %reflect_apply(func, thisArg, args); |
360 }; | 357 }; |
361 }; | 358 }; |
362 | 359 |
363 %ToFastProperties(extrasUtils); | 360 %ToFastProperties(extrasUtils); |
364 | 361 |
365 }) | 362 }) |
OLD | NEW |