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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 TFJ(StringPrototypeCharAt, 2) \ | 546 TFJ(StringPrototypeCharAt, 2) \ |
547 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 547 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
548 TFJ(StringPrototypeCharCodeAt, 2) \ | 548 TFJ(StringPrototypeCharCodeAt, 2) \ |
549 /* ES6 section 21.1.3.9 */ \ | 549 /* ES6 section 21.1.3.9 */ \ |
550 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ | 550 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ |
551 CPP(StringPrototypeLastIndexOf) \ | 551 CPP(StringPrototypeLastIndexOf) \ |
552 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ | 552 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ |
553 CPP(StringPrototypeLocaleCompare) \ | 553 CPP(StringPrototypeLocaleCompare) \ |
554 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ | 554 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ |
555 CPP(StringPrototypeNormalize) \ | 555 CPP(StringPrototypeNormalize) \ |
| 556 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ |
| 557 TFJ(StringPrototypeSubstring, 3) \ |
556 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 558 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
557 TFJ(StringPrototypeToString, 1) \ | 559 TFJ(StringPrototypeToString, 1) \ |
558 CPP(StringPrototypeTrim) \ | 560 CPP(StringPrototypeTrim) \ |
559 CPP(StringPrototypeTrimLeft) \ | 561 CPP(StringPrototypeTrimLeft) \ |
560 CPP(StringPrototypeTrimRight) \ | 562 CPP(StringPrototypeTrimRight) \ |
561 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 563 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
562 TFJ(StringPrototypeValueOf, 1) \ | 564 TFJ(StringPrototypeValueOf, 1) \ |
563 /* ES6 #sec-string.prototype-@@iterator */ \ | 565 /* ES6 #sec-string.prototype-@@iterator */ \ |
564 TFJ(StringPrototypeIterator, 1) \ | 566 TFJ(StringPrototypeIterator, 1) \ |
565 \ | 567 \ |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 | 728 |
727 friend class Isolate; | 729 friend class Isolate; |
728 | 730 |
729 DISALLOW_COPY_AND_ASSIGN(Builtins); | 731 DISALLOW_COPY_AND_ASSIGN(Builtins); |
730 }; | 732 }; |
731 | 733 |
732 } // namespace internal | 734 } // namespace internal |
733 } // namespace v8 | 735 } // namespace v8 |
734 | 736 |
735 #endif // V8_BUILTINS_BUILTINS_H_ | 737 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |