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