| 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", |
| 198 "PromiseChain", | 200 "PromiseChain", |
| 199 "PromiseDeferred", | 201 "PromiseDeferred", |
| 200 "PromiseResolved", | 202 "PromiseResolved", |
| 201 "RegExpSubclassExecJS", | 203 "RegExpSubclassExecJS", |
| 202 "RegExpSubclassMatch", | 204 "RegExpSubclassMatch", |
| 203 "RegExpSubclassReplace", | 205 "RegExpSubclassReplace", |
| 204 "RegExpSubclassSearch", | 206 "RegExpSubclassSearch", |
| 205 "RegExpSubclassSplit", | 207 "RegExpSubclassSplit", |
| 206 "RegExpSubclassTest", | 208 "RegExpSubclassTest", |
| 207 "SetIterator", | 209 "SetIterator", |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 | 354 |
| 353 extrasUtils.uncurryThis = function uncurryThis(func) { | 355 extrasUtils.uncurryThis = function uncurryThis(func) { |
| 354 return function(thisArg, ...args) { | 356 return function(thisArg, ...args) { |
| 355 return %reflect_apply(func, thisArg, args); | 357 return %reflect_apply(func, thisArg, args); |
| 356 }; | 358 }; |
| 357 }; | 359 }; |
| 358 | 360 |
| 359 %ToFastProperties(extrasUtils); | 361 %ToFastProperties(extrasUtils); |
| 360 | 362 |
| 361 }) | 363 }) |
| OLD | NEW |