| 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/globals.h" | 9 #include "src/globals.h" |
| 10 | 10 |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 TFJ(MathImul, 2) \ | 531 TFJ(MathImul, 2) \ |
| 532 /* ES6 section 20.2.2.20 Math.log ( x ) */ \ | 532 /* ES6 section 20.2.2.20 Math.log ( x ) */ \ |
| 533 TFJ(MathLog, 1) \ | 533 TFJ(MathLog, 1) \ |
| 534 /* ES6 section 20.2.2.21 Math.log1p ( x ) */ \ | 534 /* ES6 section 20.2.2.21 Math.log1p ( x ) */ \ |
| 535 TFJ(MathLog1p, 1) \ | 535 TFJ(MathLog1p, 1) \ |
| 536 /* ES6 section 20.2.2.22 Math.log10 ( x ) */ \ | 536 /* ES6 section 20.2.2.22 Math.log10 ( x ) */ \ |
| 537 TFJ(MathLog10, 1) \ | 537 TFJ(MathLog10, 1) \ |
| 538 /* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ | 538 /* ES6 section 20.2.2.23 Math.log2 ( x ) */ \ |
| 539 TFJ(MathLog2, 1) \ | 539 TFJ(MathLog2, 1) \ |
| 540 /* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ | 540 /* ES6 section 20.2.2.24 Math.max ( value1, value2 , ...values ) */ \ |
| 541 ASM(MathMax) \ | 541 TFJ(MathMax, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
| 542 /* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ | 542 /* ES6 section 20.2.2.25 Math.min ( value1, value2 , ...values ) */ \ |
| 543 ASM(MathMin) \ | 543 ASM(MathMin) \ |
| 544 /* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ | 544 /* ES6 section 20.2.2.26 Math.pow ( x, y ) */ \ |
| 545 TFJ(MathPow, 2) \ | 545 TFJ(MathPow, 2) \ |
| 546 /* ES6 section 20.2.2.27 Math.random */ \ | 546 /* ES6 section 20.2.2.27 Math.random */ \ |
| 547 TFJ(MathRandom, 0) \ | 547 TFJ(MathRandom, 0) \ |
| 548 /* ES6 section 20.2.2.28 Math.round ( x ) */ \ | 548 /* ES6 section 20.2.2.28 Math.round ( x ) */ \ |
| 549 TFJ(MathRound, 1) \ | 549 TFJ(MathRound, 1) \ |
| 550 /* ES6 section 20.2.2.29 Math.sign ( x ) */ \ | 550 /* ES6 section 20.2.2.29 Math.sign ( x ) */ \ |
| 551 TFJ(MathSign, 1) \ | 551 TFJ(MathSign, 1) \ |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 | 994 |
| 995 friend class Isolate; | 995 friend class Isolate; |
| 996 | 996 |
| 997 DISALLOW_COPY_AND_ASSIGN(Builtins); | 997 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 998 }; | 998 }; |
| 999 | 999 |
| 1000 } // namespace internal | 1000 } // namespace internal |
| 1001 } // namespace v8 | 1001 } // namespace v8 |
| 1002 | 1002 |
| 1003 #endif // V8_BUILTINS_BUILTINS_H_ | 1003 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |