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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 /* String */ \ | 527 /* String */ \ |
528 ASM(StringConstructor) \ | 528 ASM(StringConstructor) \ |
529 ASM(StringConstructor_ConstructStub) \ | 529 ASM(StringConstructor_ConstructStub) \ |
530 CPP(StringFromCodePoint) \ | 530 CPP(StringFromCodePoint) \ |
531 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 531 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
532 TFJ(StringFromCharCode, 2) \ | 532 TFJ(StringFromCharCode, 2) \ |
533 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 533 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
534 TFJ(StringPrototypeCharAt, 2) \ | 534 TFJ(StringPrototypeCharAt, 2) \ |
535 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 535 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
536 TFJ(StringPrototypeCharCodeAt, 2) \ | 536 TFJ(StringPrototypeCharCodeAt, 2) \ |
537 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ | |
538 CPP(StringPrototypeNormalize) \ | |
539 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 537 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
540 TFJ(StringPrototypeToString, 1) \ | 538 TFJ(StringPrototypeToString, 1) \ |
541 CPP(StringPrototypeTrim) \ | 539 CPP(StringPrototypeTrim) \ |
542 CPP(StringPrototypeTrimLeft) \ | 540 CPP(StringPrototypeTrimLeft) \ |
543 CPP(StringPrototypeTrimRight) \ | 541 CPP(StringPrototypeTrimRight) \ |
544 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 542 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
545 TFJ(StringPrototypeValueOf, 1) \ | 543 TFJ(StringPrototypeValueOf, 1) \ |
546 \ | 544 \ |
547 /* Symbol */ \ | 545 /* Symbol */ \ |
548 CPP(SymbolConstructor) \ | 546 CPP(SymbolConstructor) \ |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 | 702 |
705 friend class Isolate; | 703 friend class Isolate; |
706 | 704 |
707 DISALLOW_COPY_AND_ASSIGN(Builtins); | 705 DISALLOW_COPY_AND_ASSIGN(Builtins); |
708 }; | 706 }; |
709 | 707 |
710 } // namespace internal | 708 } // namespace internal |
711 } // namespace v8 | 709 } // namespace v8 |
712 | 710 |
713 #endif // V8_BUILTINS_BUILTINS_H_ | 711 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |