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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // From runtime: | 201 // From runtime: |
202 "is_concat_spreadable_symbol", | 202 "is_concat_spreadable_symbol", |
203 "iterator_symbol", | 203 "iterator_symbol", |
204 "object_freeze", | 204 "object_freeze", |
205 "object_is_frozen", | 205 "object_is_frozen", |
206 "object_is_sealed", | 206 "object_is_sealed", |
207 "promise_result_symbol", | 207 "promise_result_symbol", |
208 "promise_state_symbol", | 208 "promise_state_symbol", |
209 "reflect_apply", | 209 "reflect_apply", |
210 "reflect_construct", | 210 "reflect_construct", |
211 "regexp_flags_symbol", | |
212 "to_string_tag_symbol", | 211 "to_string_tag_symbol", |
213 "object_to_string", | 212 "object_to_string", |
214 "species_symbol", | 213 "species_symbol", |
215 "match_symbol", | 214 "match_symbol", |
216 "replace_symbol", | 215 "replace_symbol", |
217 "search_symbol", | 216 "search_symbol", |
218 "split_symbol", | 217 "split_symbol", |
219 ]; | 218 ]; |
220 | 219 |
221 var filtered_exports = {}; | 220 var filtered_exports = {}; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 | 334 |
336 extrasUtils.uncurryThis = function uncurryThis(func) { | 335 extrasUtils.uncurryThis = function uncurryThis(func) { |
337 return function(thisArg, ...args) { | 336 return function(thisArg, ...args) { |
338 return %reflect_apply(func, thisArg, args); | 337 return %reflect_apply(func, thisArg, args); |
339 }; | 338 }; |
340 }; | 339 }; |
341 | 340 |
342 %ToFastProperties(extrasUtils); | 341 %ToFastProperties(extrasUtils); |
343 | 342 |
344 }) | 343 }) |
OLD | NEW |