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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 extrasUtils.uncurryThis = function uncurryThis(func) { | 304 extrasUtils.uncurryThis = function uncurryThis(func) { |
305 return function(thisArg) { | 305 return function(thisArg) { |
306 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); | 306 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); |
307 }; | 307 }; |
308 }; | 308 }; |
309 | 309 |
310 %ToFastProperties(extrasUtils); | 310 %ToFastProperties(extrasUtils); |
311 | 311 |
312 }) | 312 }) |
OLD | NEW |