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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "IntlParseNumber", | 192 "IntlParseNumber", |
193 "IsNaN", | 193 "IsNaN", |
194 "MapEntries", | 194 "MapEntries", |
195 "MapIterator", | 195 "MapIterator", |
196 "MapIteratorNext", | 196 "MapIteratorNext", |
197 "MaxSimple", | 197 "MaxSimple", |
198 "MinSimple", | 198 "MinSimple", |
199 "NewPromiseCapability", | 199 "NewPromiseCapability", |
200 "NumberIsInteger", | 200 "NumberIsInteger", |
201 "PerformPromiseThen", | 201 "PerformPromiseThen", |
202 "PromiseChain", | |
203 "PromiseDefer", | |
204 "PromiseAccept", | |
205 "PromiseCastResolved", | 202 "PromiseCastResolved", |
206 "PromiseThen", | 203 "PromiseThen", |
207 "RegExpSubclassExecJS", | 204 "RegExpSubclassExecJS", |
208 "RegExpSubclassMatch", | 205 "RegExpSubclassMatch", |
209 "RegExpSubclassReplace", | 206 "RegExpSubclassReplace", |
210 "RegExpSubclassSearch", | 207 "RegExpSubclassSearch", |
211 "RegExpSubclassSplit", | 208 "RegExpSubclassSplit", |
212 "RegExpSubclassTest", | 209 "RegExpSubclassTest", |
213 "SetIterator", | 210 "SetIterator", |
214 "SetIteratorNext", | 211 "SetIteratorNext", |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 352 |
356 extrasUtils.uncurryThis = function uncurryThis(func) { | 353 extrasUtils.uncurryThis = function uncurryThis(func) { |
357 return function(thisArg, ...args) { | 354 return function(thisArg, ...args) { |
358 return %reflect_apply(func, thisArg, args); | 355 return %reflect_apply(func, thisArg, args); |
359 }; | 356 }; |
360 }; | 357 }; |
361 | 358 |
362 %ToFastProperties(extrasUtils); | 359 %ToFastProperties(extrasUtils); |
363 | 360 |
364 }) | 361 }) |
OLD | NEW |