| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 /* ES6 section 20.1.2.2 Number.isFinite ( number ) */ \ | 484 /* ES6 section 20.1.2.2 Number.isFinite ( number ) */ \ |
| 485 TFJ(NumberIsFinite, 2) \ | 485 TFJ(NumberIsFinite, 2) \ |
| 486 /* ES6 section 20.1.2.3 Number.isInteger ( number ) */ \ | 486 /* ES6 section 20.1.2.3 Number.isInteger ( number ) */ \ |
| 487 TFJ(NumberIsInteger, 2) \ | 487 TFJ(NumberIsInteger, 2) \ |
| 488 /* ES6 section 20.1.2.4 Number.isNaN ( number ) */ \ | 488 /* ES6 section 20.1.2.4 Number.isNaN ( number ) */ \ |
| 489 TFJ(NumberIsNaN, 2) \ | 489 TFJ(NumberIsNaN, 2) \ |
| 490 /* ES6 section 20.1.2.5 Number.isSafeInteger ( number ) */ \ | 490 /* ES6 section 20.1.2.5 Number.isSafeInteger ( number ) */ \ |
| 491 TFJ(NumberIsSafeInteger, 2) \ | 491 TFJ(NumberIsSafeInteger, 2) \ |
| 492 /* ES6 section 20.1.2.12 Number.parseFloat ( string ) */ \ | 492 /* ES6 section 20.1.2.12 Number.parseFloat ( string ) */ \ |
| 493 TFJ(NumberParseFloat, 2) \ | 493 TFJ(NumberParseFloat, 2) \ |
| 494 /* ES6 section 20.1.2.13 Number.parseInt ( string, radix ) */ \ |
| 495 TFJ(NumberParseInt, 3) \ |
| 494 CPP(NumberPrototypeToExponential) \ | 496 CPP(NumberPrototypeToExponential) \ |
| 495 CPP(NumberPrototypeToFixed) \ | 497 CPP(NumberPrototypeToFixed) \ |
| 496 CPP(NumberPrototypeToLocaleString) \ | 498 CPP(NumberPrototypeToLocaleString) \ |
| 497 CPP(NumberPrototypeToPrecision) \ | 499 CPP(NumberPrototypeToPrecision) \ |
| 498 CPP(NumberPrototypeToString) \ | 500 CPP(NumberPrototypeToString) \ |
| 499 /* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ | 501 /* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ |
| 500 TFJ(NumberPrototypeValueOf, 1) \ | 502 TFJ(NumberPrototypeValueOf, 1) \ |
| 501 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \ | 503 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \ |
| 502 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \ | 504 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \ |
| 503 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \ | 505 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \ |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 | 832 |
| 831 friend class Isolate; | 833 friend class Isolate; |
| 832 | 834 |
| 833 DISALLOW_COPY_AND_ASSIGN(Builtins); | 835 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 834 }; | 836 }; |
| 835 | 837 |
| 836 } // namespace internal | 838 } // namespace internal |
| 837 } // namespace v8 | 839 } // namespace v8 |
| 838 | 840 |
| 839 #endif // V8_BUILTINS_BUILTINS_H_ | 841 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |