| 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 "use strict"; |
| 6 |
| 5 // This file relies on the fact that the following declarations have been made | 7 // This file relies on the fact that the following declarations have been made |
| 6 // in runtime.js: | 8 // in runtime.js: |
| 7 // var $Object = global.Object; | 9 // var $Object = global.Object; |
| 8 | 10 |
| 9 // Keep reference to original values of some global properties. This | 11 // Keep reference to original values of some global properties. This |
| 10 // has the added benefit that the code in this file is isolated from | 12 // has the added benefit that the code in this file is isolated from |
| 11 // changes to these properties. | 13 // changes to these properties. |
| 12 var $floor = MathFloor; | 14 var $floor = MathFloor; |
| 13 var $abs = MathAbs; | 15 var $abs = MathAbs; |
| 14 | 16 |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 305 |
| 304 %SetInlineBuiltinFlag(MathCeil); | 306 %SetInlineBuiltinFlag(MathCeil); |
| 305 %SetInlineBuiltinFlag(MathRandom); | 307 %SetInlineBuiltinFlag(MathRandom); |
| 306 %SetInlineBuiltinFlag(MathSin); | 308 %SetInlineBuiltinFlag(MathSin); |
| 307 %SetInlineBuiltinFlag(MathCos); | 309 %SetInlineBuiltinFlag(MathCos); |
| 308 %SetInlineBuiltinFlag(MathTan); | 310 %SetInlineBuiltinFlag(MathTan); |
| 309 %SetInlineBuiltinFlag(TrigonometricInterpolation); | 311 %SetInlineBuiltinFlag(TrigonometricInterpolation); |
| 310 } | 312 } |
| 311 | 313 |
| 312 SetUpMath(); | 314 SetUpMath(); |
| OLD | NEW |