aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm/wasm-feature-flags.h
blob: ec8aa8ba0c7e3d9c7cb28d79b70c15eea6a649a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_WASM_WASM_FEATURE_FLAGS_H_
#define V8_WASM_WASM_FEATURE_FLAGS_H_

// The SEPARATOR argument allows generating proper comma-separated lists.
#define FOREACH_WASM_FEATURE_FLAG(V, SEPARATOR)                        \
  V(mv, "multi-value support", false)                                  \
  SEPARATOR                                                            \
  V(eh, "exception handling opcodes", false)                           \
  SEPARATOR                                                            \
  V(se, "sign extension opcodes", true)                                \
  SEPARATOR                                                            \
  V(sat_f2i_conversions, "saturating float conversion opcodes", false) \
  SEPARATOR                                                            \
  V(threads, "thread opcodes", false)                                  \
  SEPARATOR                                                            \
  V(simd, "SIMD opcodes", false)                                       \
  SEPARATOR                                                            \
  V(anyref, "anyref opcodes", false)                                   \
  SEPARATOR                                                            \
  V(mut_global, "import/export mutable global support", true)

#endif  // V8_WASM_WASM_FEATURE_FLAGS_H_