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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 /* ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Construct]] case */ \ | 473 /* ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Construct]] case */ \ |
474 ASM(NumberConstructor_ConstructStub) \ | 474 ASM(NumberConstructor_ConstructStub) \ |
475 /* ES6 section 20.1.2.2 Number.isFinite ( number ) */ \ | 475 /* ES6 section 20.1.2.2 Number.isFinite ( number ) */ \ |
476 TFJ(NumberIsFinite, 2) \ | 476 TFJ(NumberIsFinite, 2) \ |
477 /* ES6 section 20.1.2.3 Number.isInteger ( number ) */ \ | 477 /* ES6 section 20.1.2.3 Number.isInteger ( number ) */ \ |
478 TFJ(NumberIsInteger, 2) \ | 478 TFJ(NumberIsInteger, 2) \ |
479 /* ES6 section 20.1.2.4 Number.isNaN ( number ) */ \ | 479 /* ES6 section 20.1.2.4 Number.isNaN ( number ) */ \ |
480 TFJ(NumberIsNaN, 2) \ | 480 TFJ(NumberIsNaN, 2) \ |
481 /* ES6 section 20.1.2.5 Number.isSafeInteger ( number ) */ \ | 481 /* ES6 section 20.1.2.5 Number.isSafeInteger ( number ) */ \ |
482 TFJ(NumberIsSafeInteger, 2) \ | 482 TFJ(NumberIsSafeInteger, 2) \ |
| 483 /* ES6 section 20.1.2.12 Number.parseFloat ( string ) */ \ |
| 484 TFJ(NumberParseFloat, 2) \ |
483 CPP(NumberPrototypeToExponential) \ | 485 CPP(NumberPrototypeToExponential) \ |
484 CPP(NumberPrototypeToFixed) \ | 486 CPP(NumberPrototypeToFixed) \ |
485 CPP(NumberPrototypeToLocaleString) \ | 487 CPP(NumberPrototypeToLocaleString) \ |
486 CPP(NumberPrototypeToPrecision) \ | 488 CPP(NumberPrototypeToPrecision) \ |
487 CPP(NumberPrototypeToString) \ | 489 CPP(NumberPrototypeToString) \ |
488 /* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ | 490 /* ES6 section 20.1.3.7 Number.prototype.valueOf ( ) */ \ |
489 TFJ(NumberPrototypeValueOf, 1) \ | 491 TFJ(NumberPrototypeValueOf, 1) \ |
490 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \ | 492 TFS(Add, BUILTIN, kNoExtraICState, BinaryOp) \ |
491 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \ | 493 TFS(Subtract, BUILTIN, kNoExtraICState, BinaryOp) \ |
492 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \ | 494 TFS(Multiply, BUILTIN, kNoExtraICState, BinaryOp) \ |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 | 788 |
787 friend class Isolate; | 789 friend class Isolate; |
788 | 790 |
789 DISALLOW_COPY_AND_ASSIGN(Builtins); | 791 DISALLOW_COPY_AND_ASSIGN(Builtins); |
790 }; | 792 }; |
791 | 793 |
792 } // namespace internal | 794 } // namespace internal |
793 } // namespace v8 | 795 } // namespace v8 |
794 | 796 |
795 #endif // V8_BUILTINS_BUILTINS_H_ | 797 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |