| 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 var rngstate; // Initialized to a Uint32Array during genesis. | 5 var rngstate; // Initialized to a Uint32Array during genesis. |
| 6 | 6 |
| 7 var $abs; | 7 var $abs; |
| 8 var $exp; | 8 var $exp; |
| 9 var $floor; | 9 var $floor; |
| 10 var $max; | 10 var $max; |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 "tanh", MathTanh, | 337 "tanh", MathTanh, |
| 338 "asinh", MathAsinh, | 338 "asinh", MathAsinh, |
| 339 "acosh", MathAcosh, | 339 "acosh", MathAcosh, |
| 340 "atanh", MathAtanh, | 340 "atanh", MathAtanh, |
| 341 "hypot", MathHypot, | 341 "hypot", MathHypot, |
| 342 "fround", MathFroundJS, | 342 "fround", MathFroundJS, |
| 343 "clz32", MathClz32JS, | 343 "clz32", MathClz32JS, |
| 344 "cbrt", MathCbrt | 344 "cbrt", MathCbrt |
| 345 ]); | 345 ]); |
| 346 | 346 |
| 347 %SetInlineBuiltinFlag(MathAbs); | 347 %SetForceInlineFlag(MathAbs); |
| 348 %SetInlineBuiltinFlag(MathAcosJS); | 348 %SetForceInlineFlag(MathAcosJS); |
| 349 %SetInlineBuiltinFlag(MathAsinJS); | 349 %SetForceInlineFlag(MathAsinJS); |
| 350 %SetInlineBuiltinFlag(MathAtanJS); | 350 %SetForceInlineFlag(MathAtanJS); |
| 351 %SetInlineBuiltinFlag(MathAtan2JS); | 351 %SetForceInlineFlag(MathAtan2JS); |
| 352 %SetInlineBuiltinFlag(MathCeil); | 352 %SetForceInlineFlag(MathCeil); |
| 353 %SetInlineBuiltinFlag(MathClz32JS); | 353 %SetForceInlineFlag(MathClz32JS); |
| 354 %SetInlineBuiltinFlag(MathFloorJS); | 354 %SetForceInlineFlag(MathFloorJS); |
| 355 %SetInlineBuiltinFlag(MathRandom); | 355 %SetForceInlineFlag(MathRandom); |
| 356 %SetInlineBuiltinFlag(MathSign); | 356 %SetForceInlineFlag(MathSign); |
| 357 %SetInlineBuiltinFlag(MathSqrtJS); | 357 %SetForceInlineFlag(MathSqrtJS); |
| 358 %SetInlineBuiltinFlag(MathTrunc); | 358 %SetForceInlineFlag(MathTrunc); |
| 359 | 359 |
| 360 // Expose to the global scope. | 360 // Expose to the global scope. |
| 361 $abs = MathAbs; | 361 $abs = MathAbs; |
| 362 $exp = MathExp; | 362 $exp = MathExp; |
| 363 $floor = MathFloorJS; | 363 $floor = MathFloorJS; |
| 364 $max = MathMax; | 364 $max = MathMax; |
| 365 $min = MathMin; | 365 $min = MathMin; |
| 366 | 366 |
| 367 }) | 367 }) |
| OLD | NEW |