| 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 TFJ(TypedArrayPrototypeByteOffset, 0) \ | 801 TFJ(TypedArrayPrototypeByteOffset, 0) \ |
| 802 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ | 802 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ |
| 803 TFJ(TypedArrayPrototypeLength, 0) \ | 803 TFJ(TypedArrayPrototypeLength, 0) \ |
| 804 /* ES6 #sec-%typedarray%.prototype.entries */ \ | 804 /* ES6 #sec-%typedarray%.prototype.entries */ \ |
| 805 TFJ(TypedArrayPrototypeEntries, 0) \ | 805 TFJ(TypedArrayPrototypeEntries, 0) \ |
| 806 /* ES6 #sec-%typedarray%.prototype.keys */ \ | 806 /* ES6 #sec-%typedarray%.prototype.keys */ \ |
| 807 TFJ(TypedArrayPrototypeKeys, 0) \ | 807 TFJ(TypedArrayPrototypeKeys, 0) \ |
| 808 /* ES6 #sec-%typedarray%.prototype.values */ \ | 808 /* ES6 #sec-%typedarray%.prototype.values */ \ |
| 809 TFJ(TypedArrayPrototypeValues, 0) \ | 809 TFJ(TypedArrayPrototypeValues, 0) \ |
| 810 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ | 810 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ |
| 811 CPP(TypedArrayPrototypeCopyWithin) | 811 CPP(TypedArrayPrototypeCopyWithin) \ |
| 812 \ |
| 813 /* Async-from-Sync Iterator builtins */ \ |
| 814 \ |
| 815 /* %AsyncFromSyncIteratorPrototype% */ \ |
| 816 /* (proposal-async-iteration/#sec-%asyncfromsynciteratorprototype%-object)*/ \ |
| 817 TFJ(AsyncFromSyncIteratorPrototypeNext, 1) \ |
| 818 TFJ(AsyncFromSyncIteratorPrototypeThrow, 1) \ |
| 819 TFJ(AsyncFromSyncIteratorPrototypeReturn, 1) \ |
| 820 \ |
| 821 /* proposal-async-iteration/#sec-async-iterator-value-unwrap-functions */ \ |
| 822 TFJ(AsyncIteratorValueUnwrap, 1) |
| 812 | 823 |
| 813 #define IGNORE_BUILTIN(...) | 824 #define IGNORE_BUILTIN(...) |
| 814 | 825 |
| 815 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) | 826 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) |
| 816 | 827 |
| 817 #define BUILTIN_LIST_C(V) \ | 828 #define BUILTIN_LIST_C(V) \ |
| 818 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 829 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
| 819 IGNORE_BUILTIN, IGNORE_BUILTIN) | 830 IGNORE_BUILTIN, IGNORE_BUILTIN) |
| 820 | 831 |
| 821 #define BUILTIN_LIST_A(V) \ | 832 #define BUILTIN_LIST_A(V) \ |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 | 967 |
| 957 friend class Isolate; | 968 friend class Isolate; |
| 958 | 969 |
| 959 DISALLOW_COPY_AND_ASSIGN(Builtins); | 970 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 960 }; | 971 }; |
| 961 | 972 |
| 962 } // namespace internal | 973 } // namespace internal |
| 963 } // namespace v8 | 974 } // namespace v8 |
| 964 | 975 |
| 965 #endif // V8_BUILTINS_BUILTINS_H_ | 976 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |