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