OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 #ifndef V8_BUILTINS_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 /* ES6 section 20.2.2.22 Math.log10 ( x ) */ \ | 443 /* ES6 section 20.2.2.22 Math.log10 ( x ) */ \ |
444 TFJ(MathLog10, 2) \ | 444 TFJ(MathLog10, 2) \ |
445 /* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ | 445 /* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ |
446 TFJ(MathLog2, 2) \ | 446 TFJ(MathLog2, 2) \ |
447 /* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ | 447 /* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ |
448 ASM(MathMax) \ | 448 ASM(MathMax) \ |
449 /* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ | 449 /* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ |
450 ASM(MathMin) \ | 450 ASM(MathMin) \ |
451 /* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ | 451 /* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ |
452 TFJ(MathPow, 3) \ | 452 TFJ(MathPow, 3) \ |
| 453 /* ES6 section 20.2.2.27 Math.random */ \ |
| 454 TFJ(MathRandom, 1) \ |
453 /* ES6 section 20.2.2.28 Math.round ( x ) */ \ | 455 /* ES6 section 20.2.2.28 Math.round ( x ) */ \ |
454 TFJ(MathRound, 2) \ | 456 TFJ(MathRound, 2) \ |
455 /* ES6 section 20.2.2.29 Math.sign ( x ) */ \ | 457 /* ES6 section 20.2.2.29 Math.sign ( x ) */ \ |
456 TFJ(MathSign, 2) \ | 458 TFJ(MathSign, 2) \ |
457 /* ES6 section 20.2.2.30 Math.sin ( x ) */ \ | 459 /* ES6 section 20.2.2.30 Math.sin ( x ) */ \ |
458 TFJ(MathSin, 2) \ | 460 TFJ(MathSin, 2) \ |
459 /* ES6 section 20.2.2.31 Math.sinh ( x ) */ \ | 461 /* ES6 section 20.2.2.31 Math.sinh ( x ) */ \ |
460 TFJ(MathSinh, 2) \ | 462 TFJ(MathSinh, 2) \ |
461 /* ES6 section 20.2.2.32 Math.sqrt ( x ) */ \ | 463 /* ES6 section 20.2.2.32 Math.sqrt ( x ) */ \ |
462 TFJ(MathTan, 2) \ | 464 TFJ(MathTan, 2) \ |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 801 |
800 friend class Isolate; | 802 friend class Isolate; |
801 | 803 |
802 DISALLOW_COPY_AND_ASSIGN(Builtins); | 804 DISALLOW_COPY_AND_ASSIGN(Builtins); |
803 }; | 805 }; |
804 | 806 |
805 } // namespace internal | 807 } // namespace internal |
806 } // namespace v8 | 808 } // namespace v8 |
807 | 809 |
808 #endif // V8_BUILTINS_BUILTINS_H_ | 810 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |