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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 TFJ(StringPrototypeCharAt, 2) \ | 538 TFJ(StringPrototypeCharAt, 2) \ |
539 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 539 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
540 TFJ(StringPrototypeCharCodeAt, 2) \ | 540 TFJ(StringPrototypeCharCodeAt, 2) \ |
541 /* ES6 section 21.1.3.9 */ \ | 541 /* ES6 section 21.1.3.9 */ \ |
542 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ | 542 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ |
543 CPP(StringPrototypeLastIndexOf) \ | 543 CPP(StringPrototypeLastIndexOf) \ |
544 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ | 544 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ |
545 CPP(StringPrototypeLocaleCompare) \ | 545 CPP(StringPrototypeLocaleCompare) \ |
546 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ | 546 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ |
547 CPP(StringPrototypeNormalize) \ | 547 CPP(StringPrototypeNormalize) \ |
548 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ | |
549 TFJ(StringPrototypeSubstring, 3) \ | |
550 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 548 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
551 TFJ(StringPrototypeToString, 1) \ | 549 TFJ(StringPrototypeToString, 1) \ |
552 CPP(StringPrototypeTrim) \ | 550 CPP(StringPrototypeTrim) \ |
553 CPP(StringPrototypeTrimLeft) \ | 551 CPP(StringPrototypeTrimLeft) \ |
554 CPP(StringPrototypeTrimRight) \ | 552 CPP(StringPrototypeTrimRight) \ |
555 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 553 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
556 TFJ(StringPrototypeValueOf, 1) \ | 554 TFJ(StringPrototypeValueOf, 1) \ |
557 /* ES6 #sec-string.prototype-@@iterator */ \ | 555 /* ES6 #sec-string.prototype-@@iterator */ \ |
558 CPP(StringPrototypeIterator) \ | 556 CPP(StringPrototypeIterator) \ |
559 \ | 557 \ |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 | 718 |
721 friend class Isolate; | 719 friend class Isolate; |
722 | 720 |
723 DISALLOW_COPY_AND_ASSIGN(Builtins); | 721 DISALLOW_COPY_AND_ASSIGN(Builtins); |
724 }; | 722 }; |
725 | 723 |
726 } // namespace internal | 724 } // namespace internal |
727 } // namespace v8 | 725 } // namespace v8 |
728 | 726 |
729 #endif // V8_BUILTINS_BUILTINS_H_ | 727 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |