| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 var $toInteger; | 76 var $toInteger; |
| 77 var $toLength; | 77 var $toLength; |
| 78 var $toName; | 78 var $toName; |
| 79 var $toNumber; | 79 var $toNumber; |
| 80 var $toObject; | 80 var $toObject; |
| 81 var $toPositiveInteger; | 81 var $toPositiveInteger; |
| 82 var $toPrimitive; | 82 var $toPrimitive; |
| 83 var $toString; | 83 var $toString; |
| 84 var $toUint32; | 84 var $toUint32; |
| 85 | 85 |
| 86 (function() { | 86 (function(global, shared, exports) { |
| 87 | 87 |
| 88 %CheckIsBootstrapping(); | 88 %CheckIsBootstrapping(); |
| 89 | 89 |
| 90 var GlobalArray = global.Array; | 90 var GlobalArray = global.Array; |
| 91 var GlobalBoolean = global.Boolean; | 91 var GlobalBoolean = global.Boolean; |
| 92 var GlobalString = global.String; | 92 var GlobalString = global.String; |
| 93 var GlobalNumber = global.Number; | 93 var GlobalNumber = global.Number; |
| 94 | 94 |
| 95 // ---------------------------------------------------------------------------- | 95 // ---------------------------------------------------------------------------- |
| 96 | 96 |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 990 $toInteger = ToInteger; | 990 $toInteger = ToInteger; |
| 991 $toLength = ToLength; | 991 $toLength = ToLength; |
| 992 $toName = ToName; | 992 $toName = ToName; |
| 993 $toNumber = ToNumber; | 993 $toNumber = ToNumber; |
| 994 $toObject = ToObject; | 994 $toObject = ToObject; |
| 995 $toPositiveInteger = ToPositiveInteger; | 995 $toPositiveInteger = ToPositiveInteger; |
| 996 $toPrimitive = ToPrimitive; | 996 $toPrimitive = ToPrimitive; |
| 997 $toString = ToString; | 997 $toString = ToString; |
| 998 $toUint32 = ToUint32; | 998 $toUint32 = ToUint32; |
| 999 | 999 |
| 1000 })(); | 1000 }) |
| OLD | NEW |