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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 imports(exports_container); | 168 imports(exports_container); |
169 } | 169 } |
170 | 170 |
171 // Whitelist of exports from normal natives to experimental natives and debug. | 171 // Whitelist of exports from normal natives to experimental natives and debug. |
172 var expose_list = [ | 172 var expose_list = [ |
173 "ArrayToString", | 173 "ArrayToString", |
174 "ErrorToString", | 174 "ErrorToString", |
175 "FunctionSourceString", | 175 "FunctionSourceString", |
176 "GetIterator", | 176 "GetIterator", |
177 "GetMethod", | 177 "GetMethod", |
178 "GetRegExpFlagGetter", | |
179 "InnerArrayEvery", | 178 "InnerArrayEvery", |
180 "InnerArrayFilter", | 179 "InnerArrayFilter", |
181 "InnerArrayForEach", | 180 "InnerArrayForEach", |
182 "InnerArrayIndexOf", | 181 "InnerArrayIndexOf", |
183 "InnerArrayJoin", | 182 "InnerArrayJoin", |
184 "InnerArrayLastIndexOf", | 183 "InnerArrayLastIndexOf", |
185 "InnerArrayMap", | 184 "InnerArrayMap", |
186 "InnerArrayReduce", | 185 "InnerArrayReduce", |
187 "InnerArrayReduceRight", | 186 "InnerArrayReduceRight", |
188 "InnerArrayReverse", | 187 "InnerArrayReverse", |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 | 343 |
345 extrasUtils.uncurryThis = function uncurryThis(func) { | 344 extrasUtils.uncurryThis = function uncurryThis(func) { |
346 return function(thisArg) { | 345 return function(thisArg) { |
347 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); | 346 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); |
348 }; | 347 }; |
349 }; | 348 }; |
350 | 349 |
351 %ToFastProperties(extrasUtils); | 350 %ToFastProperties(extrasUtils); |
352 | 351 |
353 }) | 352 }) |
OLD | NEW |