| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 "IsNaN", | 188 "IsNaN", |
| 189 "MakeError", | 189 "MakeError", |
| 190 "MakeRangeError", | 190 "MakeRangeError", |
| 191 "MakeTypeError", | 191 "MakeTypeError", |
| 192 "MapEntries", | 192 "MapEntries", |
| 193 "MapIterator", | 193 "MapIterator", |
| 194 "MapIteratorNext", | 194 "MapIteratorNext", |
| 195 "MaxSimple", | 195 "MaxSimple", |
| 196 "MinSimple", | 196 "MinSimple", |
| 197 "NumberIsInteger", | 197 "NumberIsInteger", |
| 198 "ObserveArrayMethods", | |
| 199 "ObserveObjectMethods", | |
| 200 "PromiseChain", | 198 "PromiseChain", |
| 201 "PromiseDeferred", | 199 "PromiseDeferred", |
| 202 "PromiseResolved", | 200 "PromiseResolved", |
| 203 "RegExpSubclassExecJS", | 201 "RegExpSubclassExecJS", |
| 204 "RegExpSubclassMatch", | 202 "RegExpSubclassMatch", |
| 205 "RegExpSubclassReplace", | 203 "RegExpSubclassReplace", |
| 206 "RegExpSubclassSearch", | 204 "RegExpSubclassSearch", |
| 207 "RegExpSubclassSplit", | 205 "RegExpSubclassSplit", |
| 208 "RegExpSubclassTest", | 206 "RegExpSubclassTest", |
| 209 "SetIterator", | 207 "SetIterator", |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 | 352 |
| 355 extrasUtils.uncurryThis = function uncurryThis(func) { | 353 extrasUtils.uncurryThis = function uncurryThis(func) { |
| 356 return function(thisArg, ...args) { | 354 return function(thisArg, ...args) { |
| 357 return %reflect_apply(func, thisArg, args); | 355 return %reflect_apply(func, thisArg, args); |
| 358 }; | 356 }; |
| 359 }; | 357 }; |
| 360 | 358 |
| 361 %ToFastProperties(extrasUtils); | 359 %ToFastProperties(extrasUtils); |
| 362 | 360 |
| 363 }) | 361 }) |
| OLD | NEW |