| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 // This files contains runtime support implemented in JavaScript. | 5 // This files contains runtime support implemented in JavaScript. |
| 6 | 6 |
| 7 // CAUTION: Some of the functions specified in this file are called | 7 // CAUTION: Some of the functions specified in this file are called |
| 8 // directly from compiled code. These are the functions with names in | 8 // directly from compiled code. These are the functions with names in |
| 9 // ALL CAPS. The compiled code passes the first argument in 'this'. | 9 // ALL CAPS. The compiled code passes the first argument in 'this'. |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 var $toInteger; | 78 var $toInteger; |
| 79 var $toLength; | 79 var $toLength; |
| 80 var $toName; | 80 var $toName; |
| 81 var $toNumber; | 81 var $toNumber; |
| 82 var $toObject; | 82 var $toObject; |
| 83 var $toPositiveInteger; | 83 var $toPositiveInteger; |
| 84 var $toPrimitive; | 84 var $toPrimitive; |
| 85 var $toString; | 85 var $toString; |
| 86 var $toUint32; | 86 var $toUint32; |
| 87 | 87 |
| 88 (function(global, utils) { | 88 (function(global, shared, exports) { |
| 89 | 89 |
| 90 %CheckIsBootstrapping(); | 90 %CheckIsBootstrapping(); |
| 91 | 91 |
| 92 var GlobalArray = global.Array; | 92 var GlobalArray = global.Array; |
| 93 var GlobalBoolean = global.Boolean; | 93 var GlobalBoolean = global.Boolean; |
| 94 var GlobalString = global.String; | 94 var GlobalString = global.String; |
| 95 var GlobalNumber = global.Number; | 95 var GlobalNumber = global.Number; |
| 96 | 96 |
| 97 // ---------------------------------------------------------------------------- | 97 // ---------------------------------------------------------------------------- |
| 98 | 98 |
| (...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1021 $toLength = ToLength; | 1021 $toLength = ToLength; |
| 1022 $toName = ToName; | 1022 $toName = ToName; |
| 1023 $toNumber = ToNumber; | 1023 $toNumber = ToNumber; |
| 1024 $toObject = ToObject; | 1024 $toObject = ToObject; |
| 1025 $toPositiveInteger = ToPositiveInteger; | 1025 $toPositiveInteger = ToPositiveInteger; |
| 1026 $toPrimitive = ToPrimitive; | 1026 $toPrimitive = ToPrimitive; |
| 1027 $toString = ToString; | 1027 $toString = ToString; |
| 1028 $toUint32 = ToUint32; | 1028 $toUint32 = ToUint32; |
| 1029 | 1029 |
| 1030 }) | 1030 }) |
| OLD | NEW |