• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_WASM_WASM_FEATURE_FLAGS_H_
6 #define V8_WASM_WASM_FEATURE_FLAGS_H_
7 
8 // The SEPARATOR argument allows generating proper comma-separated lists.
9 #define FOREACH_WASM_FEATURE_FLAG(V, SEPARATOR)                        \
10   V(mv, "multi-value support", false)                                  \
11   SEPARATOR                                                            \
12   V(eh, "exception handling opcodes", false)                           \
13   SEPARATOR                                                            \
14   V(se, "sign extension opcodes", true)                                \
15   SEPARATOR                                                            \
16   V(sat_f2i_conversions, "saturating float conversion opcodes", false) \
17   SEPARATOR                                                            \
18   V(threads, "thread opcodes", false)                                  \
19   SEPARATOR                                                            \
20   V(simd, "SIMD opcodes", false)                                       \
21   SEPARATOR                                                            \
22   V(anyref, "anyref opcodes", false)                                   \
23   SEPARATOR                                                            \
24   V(mut_global, "import/export mutable global support", true)
25 
26 #endif  // V8_WASM_WASM_FEATURE_FLAGS_H_
27