| 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 /* String */ \ | 528 /* String */ \ |
| 529 ASM(StringConstructor) \ | 529 ASM(StringConstructor) \ |
| 530 ASM(StringConstructor_ConstructStub) \ | 530 ASM(StringConstructor_ConstructStub) \ |
| 531 CPP(StringFromCodePoint) \ | 531 CPP(StringFromCodePoint) \ |
| 532 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 532 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
| 533 TFJ(StringFromCharCode, 2) \ | 533 TFJ(StringFromCharCode, 2) \ |
| 534 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 534 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
| 535 TFJ(StringPrototypeCharAt, 2) \ | 535 TFJ(StringPrototypeCharAt, 2) \ |
| 536 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 536 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
| 537 TFJ(StringPrototypeCharCodeAt, 2) \ | 537 TFJ(StringPrototypeCharCodeAt, 2) \ |
| 538 /* ES6 section 21.1.3.9 */ \ |
| 539 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ |
| 540 CPP(StringPrototypeLastIndexOf) \ |
| 538 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ | 541 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ |
| 539 CPP(StringPrototypeLocaleCompare) \ | 542 CPP(StringPrototypeLocaleCompare) \ |
| 540 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ | 543 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ |
| 541 CPP(StringPrototypeNormalize) \ | 544 CPP(StringPrototypeNormalize) \ |
| 542 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 545 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
| 543 TFJ(StringPrototypeToString, 1) \ | 546 TFJ(StringPrototypeToString, 1) \ |
| 544 CPP(StringPrototypeTrim) \ | 547 CPP(StringPrototypeTrim) \ |
| 545 CPP(StringPrototypeTrimLeft) \ | 548 CPP(StringPrototypeTrimLeft) \ |
| 546 CPP(StringPrototypeTrimRight) \ | 549 CPP(StringPrototypeTrimRight) \ |
| 547 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 550 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 | 710 |
| 708 friend class Isolate; | 711 friend class Isolate; |
| 709 | 712 |
| 710 DISALLOW_COPY_AND_ASSIGN(Builtins); | 713 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 711 }; | 714 }; |
| 712 | 715 |
| 713 } // namespace internal | 716 } // namespace internal |
| 714 } // namespace v8 | 717 } // namespace v8 |
| 715 | 718 |
| 716 #endif // V8_BUILTINS_BUILTINS_H_ | 719 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |