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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 "InnerArrayToLocaleString", | 181 "InnerArrayToLocaleString", |
182 "IsNaN", | 182 "IsNaN", |
183 "MathMax", | 183 "MathMax", |
184 "MathMin", | 184 "MathMin", |
185 "ObjectIsFrozen", | 185 "ObjectIsFrozen", |
186 "ObjectDefineProperty", | 186 "ObjectDefineProperty", |
187 "OwnPropertyKeys", | 187 "OwnPropertyKeys", |
188 "SymbolToString", | 188 "SymbolToString", |
189 "ToNameArray", | 189 "ToNameArray", |
190 "ToBoolean", | 190 "ToBoolean", |
191 "ToNumber", | |
192 "ToString", | |
193 // From runtime: | 191 // From runtime: |
194 "is_concat_spreadable_symbol", | 192 "is_concat_spreadable_symbol", |
195 "iterator_symbol", | 193 "iterator_symbol", |
196 "promise_status_symbol", | 194 "promise_status_symbol", |
197 "promise_value_symbol", | 195 "promise_value_symbol", |
198 "reflect_apply", | 196 "reflect_apply", |
199 "reflect_construct", | 197 "reflect_construct", |
200 "to_string_tag_symbol", | 198 "to_string_tag_symbol", |
201 ]; | 199 ]; |
202 | 200 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 304 |
307 extrasUtils.uncurryThis = function uncurryThis(func) { | 305 extrasUtils.uncurryThis = function uncurryThis(func) { |
308 return function(thisArg) { | 306 return function(thisArg) { |
309 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); | 307 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); |
310 }; | 308 }; |
311 }; | 309 }; |
312 | 310 |
313 %ToFastProperties(extrasUtils); | 311 %ToFastProperties(extrasUtils); |
314 | 312 |
315 }) | 313 }) |
OLD | NEW |