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/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 TFJ(TypedArrayPrototypeByteLength, 0) \ | 796 TFJ(TypedArrayPrototypeByteLength, 0) \ |
797 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ | 797 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ |
798 TFJ(TypedArrayPrototypeByteOffset, 0) \ | 798 TFJ(TypedArrayPrototypeByteOffset, 0) \ |
799 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ | 799 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ |
800 TFJ(TypedArrayPrototypeLength, 0) \ | 800 TFJ(TypedArrayPrototypeLength, 0) \ |
801 /* ES6 #sec-%typedarray%.prototype.entries */ \ | 801 /* ES6 #sec-%typedarray%.prototype.entries */ \ |
802 TFJ(TypedArrayPrototypeEntries, 0) \ | 802 TFJ(TypedArrayPrototypeEntries, 0) \ |
803 /* ES6 #sec-%typedarray%.prototype.keys */ \ | 803 /* ES6 #sec-%typedarray%.prototype.keys */ \ |
804 TFJ(TypedArrayPrototypeKeys, 0) \ | 804 TFJ(TypedArrayPrototypeKeys, 0) \ |
805 /* ES6 #sec-%typedarray%.prototype.values */ \ | 805 /* ES6 #sec-%typedarray%.prototype.values */ \ |
806 TFJ(TypedArrayPrototypeValues, 0) \ | 806 TFJ(TypedArrayPrototypeValues, 0) |
807 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ | |
808 CPP(TypedArrayPrototypeCopyWithin) | |
809 | 807 |
810 #define IGNORE_BUILTIN(...) | 808 #define IGNORE_BUILTIN(...) |
811 | 809 |
812 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) | 810 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) |
813 | 811 |
814 #define BUILTIN_LIST_C(V) \ | 812 #define BUILTIN_LIST_C(V) \ |
815 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 813 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
816 IGNORE_BUILTIN, IGNORE_BUILTIN) | 814 IGNORE_BUILTIN, IGNORE_BUILTIN) |
817 | 815 |
818 #define BUILTIN_LIST_A(V) \ | 816 #define BUILTIN_LIST_A(V) \ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 | 951 |
954 friend class Isolate; | 952 friend class Isolate; |
955 | 953 |
956 DISALLOW_COPY_AND_ASSIGN(Builtins); | 954 DISALLOW_COPY_AND_ASSIGN(Builtins); |
957 }; | 955 }; |
958 | 956 |
959 } // namespace internal | 957 } // namespace internal |
960 } // namespace v8 | 958 } // namespace v8 |
961 | 959 |
962 #endif // V8_BUILTINS_BUILTINS_H_ | 960 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |