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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 /* SharedArrayBuffer */ \ | 614 /* SharedArrayBuffer */ \ |
615 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 615 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
616 TFJ(AtomicsLoad, 2) \ | 616 TFJ(AtomicsLoad, 2) \ |
617 TFJ(AtomicsStore, 3) \ | 617 TFJ(AtomicsStore, 3) \ |
618 \ | 618 \ |
619 /* String */ \ | 619 /* String */ \ |
620 ASM(StringConstructor) \ | 620 ASM(StringConstructor) \ |
621 ASM(StringConstructor_ConstructStub) \ | 621 ASM(StringConstructor_ConstructStub) \ |
622 CPP(StringFromCodePoint) \ | 622 CPP(StringFromCodePoint) \ |
623 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 623 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
624 TFJ(StringFromCharCode, 1) \ | 624 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
625 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 625 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
626 TFJ(StringPrototypeCharAt, 1) \ | 626 TFJ(StringPrototypeCharAt, 1) \ |
627 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 627 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
628 TFJ(StringPrototypeCharCodeAt, 1) \ | 628 TFJ(StringPrototypeCharCodeAt, 1) \ |
629 /* ES6 section 21.1.3.6 */ \ | 629 /* ES6 section 21.1.3.6 */ \ |
630 /* String.prototype.endsWith ( searchString [ , endPosition ] ) */ \ | 630 /* String.prototype.endsWith ( searchString [ , endPosition ] ) */ \ |
631 CPP(StringPrototypeEndsWith) \ | 631 CPP(StringPrototypeEndsWith) \ |
632 /* ES6 section 21.1.3.7 */ \ | 632 /* ES6 section 21.1.3.7 */ \ |
633 /* String.prototype.includes ( searchString [ , position ] ) */ \ | 633 /* String.prototype.includes ( searchString [ , position ] ) */ \ |
634 CPP(StringPrototypeIncludes) \ | 634 CPP(StringPrototypeIncludes) \ |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 | 832 |
833 friend class Isolate; | 833 friend class Isolate; |
834 | 834 |
835 DISALLOW_COPY_AND_ASSIGN(Builtins); | 835 DISALLOW_COPY_AND_ASSIGN(Builtins); |
836 }; | 836 }; |
837 | 837 |
838 } // namespace internal | 838 } // namespace internal |
839 } // namespace v8 | 839 } // namespace v8 |
840 | 840 |
841 #endif // V8_BUILTINS_BUILTINS_H_ | 841 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |