summaryrefslogtreecommitdiff
path: root/chromium/v8/src/wasm/wasm-feature-flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/wasm/wasm-feature-flags.h')
-rw-r--r--chromium/v8/src/wasm/wasm-feature-flags.h41
1 files changed, 26 insertions, 15 deletions
diff --git a/chromium/v8/src/wasm/wasm-feature-flags.h b/chromium/v8/src/wasm/wasm-feature-flags.h
index 1c4c2acaec3..cf9ef00bf82 100644
--- a/chromium/v8/src/wasm/wasm-feature-flags.h
+++ b/chromium/v8/src/wasm/wasm-feature-flags.h
@@ -26,8 +26,12 @@
\
/* Non-specified, V8-only experimental additions to the GC proposal */ \
/* V8 side owner: jkummerow */ \
- V(gc_experiments, "garbage collection V8-only experimental features", false) \
- V(nn_locals, "allow non-defaultable/non-nullable locals", false) \
+ V(nn_locals, \
+ "allow non-defaultable/non-nullable locals, validated with 'until end of " \
+ "block' semantics", \
+ false) \
+ V(unsafe_nn_locals, \
+ "allow non-defaultable/non-nullable locals, no validation", false) \
\
/* Typed function references proposal. */ \
/* Official proposal: https://github.com/WebAssembly/function-references */ \
@@ -47,7 +51,12 @@
/* Branch Hinting proposal. */ \
/* https://github.com/WebAssembly/branch-hinting */ \
/* V8 side owner: jkummerow */ \
- V(branch_hinting, "branch hinting", false)
+ V(branch_hinting, "branch hinting", false) \
+ \
+ /* Stack Switching proposal. */ \
+ /* https://github.com/WebAssembly/stack-switching */ \
+ /* V8 side owner: thibaudm, fgm */ \
+ V(stack_switching, "stack switching", false)
// #############################################################################
// Staged features (disabled by default, but enabled via --wasm-staging (also
@@ -58,18 +67,6 @@
// be shipped with enough lead time to the next branch to allow for
// stabilization.
#define FOREACH_WASM_STAGING_FEATURE_FLAG(V) /* (force 80 columns) */ \
- /* Exception handling proposal. */ \
- /* https://github.com/WebAssembly/exception-handling */ \
- /* V8 side owner: thibaudm */ \
- /* Staged in v8.9 */ \
- V(eh, "exception handling opcodes", false) \
- \
- /* Reference Types, a.k.a. reftypes proposal. */ \
- /* https://github.com/WebAssembly/reference-types */ \
- /* V8 side owner: ahaas */ \
- /* Staged in v7.8. */ \
- V(reftypes, "reference type opcodes", false) \
- \
/* Tail call / return call proposal. */ \
/* https://github.com/webassembly/tail-call */ \
/* V8 side owner: thibaudm */ \
@@ -93,6 +90,13 @@
/* Shipped in v9.1 * */ \
V(simd, "SIMD opcodes", true) \
\
+ /* Reference Types, a.k.a. reftypes proposal. */ \
+ /* https://github.com/WebAssembly/reference-types */ \
+ /* V8 side owner: ahaas */ \
+ /* Staged in v7.8. */ \
+ /* Shipped in v9.6 * */ \
+ V(reftypes, "reference type opcodes", true) \
+ \
/* Threads proposal. */ \
/* https://github.com/webassembly/threads */ \
/* NOTE: This is enabled via chromium flag on desktop systems since v7.4, */ \
@@ -104,6 +108,13 @@
/* V8 side owner: gdeepti */ \
V(threads, "thread opcodes", true) \
\
+ /* Exception handling proposal. */ \
+ /* https://github.com/WebAssembly/exception-handling */ \
+ /* V8 side owner: thibaudm */ \
+ /* Staged in v8.9 */ \
+ /* Shipped in v9.5 */ \
+ V(eh, "exception handling opcodes", true) \
+ \
// Combination of all available wasm feature flags.
#define FOREACH_WASM_FEATURE_FLAG(V) \
FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG(V) \