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 163 matching lines...) Loading... |
174 | 174 |
175 function PostNatives(utils) { | 175 function PostNatives(utils) { |
176 %CheckIsBootstrapping(); | 176 %CheckIsBootstrapping(); |
177 | 177 |
178 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { | 178 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { |
179 imports(exports_container); | 179 imports(exports_container); |
180 } | 180 } |
181 | 181 |
182 // Whitelist of exports from normal natives to experimental natives and debug. | 182 // Whitelist of exports from normal natives to experimental natives and debug. |
183 var expose_list = [ | 183 var expose_list = [ |
| 184 "AddBoundMethod", |
184 "ArrayToString", | 185 "ArrayToString", |
185 "ErrorToString", | 186 "ErrorToString", |
186 "GetIterator", | 187 "GetIterator", |
187 "GetMethod", | 188 "GetMethod", |
| 189 "IntlParseDate", |
| 190 "IntlParseNumber", |
188 "IsNaN", | 191 "IsNaN", |
189 "MakeError", | 192 "MakeError", |
190 "MakeRangeError", | 193 "MakeRangeError", |
191 "MakeTypeError", | 194 "MakeTypeError", |
192 "MapEntries", | 195 "MapEntries", |
193 "MapIterator", | 196 "MapIterator", |
194 "MapIteratorNext", | 197 "MapIteratorNext", |
195 "MaxSimple", | 198 "MaxSimple", |
196 "MinSimple", | 199 "MinSimple", |
197 "NumberIsInteger", | 200 "NumberIsInteger", |
(...skipping 154 matching lines...) Loading... |
352 | 355 |
353 extrasUtils.uncurryThis = function uncurryThis(func) { | 356 extrasUtils.uncurryThis = function uncurryThis(func) { |
354 return function(thisArg, ...args) { | 357 return function(thisArg, ...args) { |
355 return %reflect_apply(func, thisArg, args); | 358 return %reflect_apply(func, thisArg, args); |
356 }; | 359 }; |
357 }; | 360 }; |
358 | 361 |
359 %ToFastProperties(extrasUtils); | 362 %ToFastProperties(extrasUtils); |
360 | 363 |
361 }) | 364 }) |
OLD | NEW |