v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-feature-flags.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG(V)
 
#define FOREACH_WASM_STAGING_FEATURE_FLAG(V)
 
#define FOREACH_WASM_SHIPPED_FEATURE_FLAG(V)
 
#define FOREACH_WASM_FEATURE_FLAG(V)
 
#define CHECK_WASM_FEATURE_OFF_BY_DEFAULT(name, desc, enabled)
 
#define CHECK_WASM_FEATURE_ON_BY_DEFAULT(name, desc, enabled)
 

Macro Definition Documentation

◆ CHECK_WASM_FEATURE_OFF_BY_DEFAULT

#define CHECK_WASM_FEATURE_OFF_BY_DEFAULT ( name,
desc,
enabled )
Value:
static_assert(enabled == false);

Definition at line 143 of file wasm-feature-flags.h.

◆ CHECK_WASM_FEATURE_ON_BY_DEFAULT

#define CHECK_WASM_FEATURE_ON_BY_DEFAULT ( name,
desc,
enabled )
Value:
static_assert(enabled == true);

Definition at line 145 of file wasm-feature-flags.h.

◆ FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG

#define FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG ( V)

Definition at line 26 of file wasm-feature-flags.h.

◆ FOREACH_WASM_FEATURE_FLAG

#define FOREACH_WASM_FEATURE_FLAG ( V)
Value:
FOREACH_WASM_STAGING_FEATURE_FLAG(V) \
FOREACH_WASM_SHIPPED_FEATURE_FLAG(V)
#define V(Name)
#define FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG(V)

Definition at line 137 of file wasm-feature-flags.h.

◆ FOREACH_WASM_SHIPPED_FEATURE_FLAG

#define FOREACH_WASM_SHIPPED_FEATURE_FLAG ( V)
Value:
/* (force 80 columns) */ \
/* Legacy exception handling proposal. */ \
/* https://github.com/WebAssembly/exception-handling */ \
/* V8 side owner: thibaudm */ \
/* Staged in v8.9 */ \
/* Shipped in v9.5 */ \
V(legacy_eh, "legacy exception handling opcodes", true) \
\
/* Branch Hinting proposal. */ \
/* https://github.com/WebAssembly/branch-hinting */ \
/* V8 side owner: jkummerow */ \
/* Staged in v13.6. */ \
/* Shipped in v13.7. */ \
V(branch_hinting, "branch hinting", true) \
\
/* Imported Strings Proposal. */ \
/* https://github.com/WebAssembly/js-string-builtins */ \
/* V8 side owner: jkummerow */ \
/* Shipped in v13.0 */ \
V(imported_strings, "imported strings", true)

Definition at line 115 of file wasm-feature-flags.h.

◆ FOREACH_WASM_STAGING_FEATURE_FLAG

#define FOREACH_WASM_STAGING_FEATURE_FLAG ( V)
Value:
/* (force 80 columns) */ \
/* Reference-Typed Strings Proposal. */ \
/* https://github.com/WebAssembly/stringref */ \
/* V8 side owner: jkummerow */ \
V(stringref, "reference-typed strings", false) \
\
/* Imported Strings TextEncoder/TextDecoder post-MVP extension. */ \
/* No upstream repo yet. */ \
/* V8 side owner: jkummerow */ \
V(imported_strings_utf8, "imported strings (utf8 features)", false) \
\
/* Exnref */ \
/* This flag enables the new exception handling proposal */ \
/* V8 side owner: thibaudm */ \
V(exnref, "exnref", false) \
\
/* JavaScript Promise Integration proposal. */ \
/* https://github.com/WebAssembly/js-promise-integration */ \
/* V8 side owner: thibaudm, fgm */ \
V(jspi, "javascript promise integration", false)

Definition at line 91 of file wasm-feature-flags.h.