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.10 String.prototype.localeCompare ( that ) */ \ |
| 538 CPP(StringPrototypeLocaleCompare) \ |
537 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ | 539 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ |
538 CPP(StringPrototypeNormalize) \ | 540 CPP(StringPrototypeNormalize) \ |
539 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 541 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
540 TFJ(StringPrototypeToString, 1) \ | 542 TFJ(StringPrototypeToString, 1) \ |
541 CPP(StringPrototypeTrim) \ | 543 CPP(StringPrototypeTrim) \ |
542 CPP(StringPrototypeTrimLeft) \ | 544 CPP(StringPrototypeTrimLeft) \ |
543 CPP(StringPrototypeTrimRight) \ | 545 CPP(StringPrototypeTrimRight) \ |
544 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 546 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
545 TFJ(StringPrototypeValueOf, 1) \ | 547 TFJ(StringPrototypeValueOf, 1) \ |
546 \ | 548 \ |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 | 706 |
705 friend class Isolate; | 707 friend class Isolate; |
706 | 708 |
707 DISALLOW_COPY_AND_ASSIGN(Builtins); | 709 DISALLOW_COPY_AND_ASSIGN(Builtins); |
708 }; | 710 }; |
709 | 711 |
710 } // namespace internal | 712 } // namespace internal |
711 } // namespace v8 | 713 } // namespace v8 |
712 | 714 |
713 #endif // V8_BUILTINS_BUILTINS_H_ | 715 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |