| 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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 /* ES6 #sec-%typedarray%.prototype.entries */ \ | 812 /* ES6 #sec-%typedarray%.prototype.entries */ \ |
| 813 TFJ(TypedArrayPrototypeEntries, 0) \ | 813 TFJ(TypedArrayPrototypeEntries, 0) \ |
| 814 /* ES6 #sec-%typedarray%.prototype.keys */ \ | 814 /* ES6 #sec-%typedarray%.prototype.keys */ \ |
| 815 TFJ(TypedArrayPrototypeKeys, 0) \ | 815 TFJ(TypedArrayPrototypeKeys, 0) \ |
| 816 /* ES6 #sec-%typedarray%.prototype.values */ \ | 816 /* ES6 #sec-%typedarray%.prototype.values */ \ |
| 817 TFJ(TypedArrayPrototypeValues, 0) \ | 817 TFJ(TypedArrayPrototypeValues, 0) \ |
| 818 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ | 818 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ |
| 819 CPP(TypedArrayPrototypeCopyWithin) \ | 819 CPP(TypedArrayPrototypeCopyWithin) \ |
| 820 \ | 820 \ |
| 821 /* Wasm */ \ | 821 /* Wasm */ \ |
| 822 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmStackGuard, 1) | 822 TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmStackGuard, 1) \ |
| 823 \ |
| 824 /* Async-from-Sync Iterator */ \ |
| 825 \ |
| 826 /* %AsyncFromSyncIteratorPrototype% */ \ |
| 827 /* (proposal-async-iteration/#sec-%asyncfromsynciteratorprototype%-object)*/ \ |
| 828 TFJ(AsyncFromSyncIteratorPrototypeNext, 1) \ |
| 829 TFJ(AsyncFromSyncIteratorPrototypeThrow, 1) \ |
| 830 TFJ(AsyncFromSyncIteratorPrototypeReturn, 1) \ |
| 831 \ |
| 832 /* proposal-async-iteration/#sec-async-iterator-value-unwrap-functions */ \ |
| 833 TFJ(AsyncIteratorValueUnwrap, 1) |
| 823 | 834 |
| 824 #define IGNORE_BUILTIN(...) | 835 #define IGNORE_BUILTIN(...) |
| 825 | 836 |
| 826 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) | 837 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) |
| 827 | 838 |
| 828 #define BUILTIN_LIST_C(V) \ | 839 #define BUILTIN_LIST_C(V) \ |
| 829 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 840 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
| 830 IGNORE_BUILTIN, IGNORE_BUILTIN) | 841 IGNORE_BUILTIN, IGNORE_BUILTIN) |
| 831 | 842 |
| 832 #define BUILTIN_LIST_A(V) \ | 843 #define BUILTIN_LIST_A(V) \ |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 967 | 978 |
| 968 friend class Isolate; | 979 friend class Isolate; |
| 969 | 980 |
| 970 DISALLOW_COPY_AND_ASSIGN(Builtins); | 981 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 971 }; | 982 }; |
| 972 | 983 |
| 973 } // namespace internal | 984 } // namespace internal |
| 974 } // namespace v8 | 985 } // namespace v8 |
| 975 | 986 |
| 976 #endif // V8_BUILTINS_BUILTINS_H_ | 987 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |