OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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) { | 5 (function(global, utils) { |
6 | 6 |
7 %CheckIsBootstrapping(); | 7 %CheckIsBootstrapping(); |
8 | 8 |
9 // ---------------------------------------------------------------------------- | 9 // ---------------------------------------------------------------------------- |
10 // Imports | 10 // Imports |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 } | 442 } |
443 return iterator; | 443 return iterator; |
444 } | 444 } |
445 | 445 |
446 // ---------------------------------------------------------------------------- | 446 // ---------------------------------------------------------------------------- |
447 // Exports | 447 // Exports |
448 | 448 |
449 utils.Export(function(to) { | 449 utils.Export(function(to) { |
450 to.GetIterator = GetIterator; | 450 to.GetIterator = GetIterator; |
451 to.GetMethod = GetMethod; | 451 to.GetMethod = GetMethod; |
452 to.IsFinite = GlobalIsFinite; | |
453 to.IsNaN = GlobalIsNaN; | 452 to.IsNaN = GlobalIsNaN; |
454 to.NumberIsNaN = NumberIsNaN; | 453 to.NumberIsNaN = NumberIsNaN; |
455 to.NumberIsInteger = NumberIsInteger; | 454 to.NumberIsInteger = NumberIsInteger; |
456 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty; | 455 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty; |
457 }); | 456 }); |
458 | 457 |
459 %InstallToContext([ | 458 %InstallToContext([ |
460 "object_value_of", ObjectValueOf, | 459 "object_value_of", ObjectValueOf, |
461 ]); | 460 ]); |
462 | 461 |
463 }) | 462 }) |
OLD | NEW |