0

[wasm][cleanup] Remove wasm tail-call feature flag

The WebAssembly tail-call (aka return call) proposal has been enabled by
default for a long time in Chrome/V8 and has reached phase 4 of the
standardization process.

R=adamk@chromium.org

Change-Id: I6e33dc804b2e51f4455a42594b7ad1f1190da968
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5537896
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Auto-Submit: Thibaud Michaud <thibaudm@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1301458}
This commit is contained in:
Thibaud Michaud
2024-05-15 18:37:17 +00:00
committed by Chromium LUCI CQ
parent 70594b1ffd
commit 2de2cc1458
3 changed files with 0 additions and 10 deletions

@ -278,12 +278,6 @@ BASE_FEATURE(kJavaScriptRegExpDuplicateNamedGroups,
// WebAssembly features.
// Enable support for the WebAssembly tail-call proposal:
// https://github.com/WebAssembly/tail-call.
BASE_FEATURE(kWebAssemblyTailCall,
"WebAssemblyTailCall",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable WebAssembly inlining (not user visible).
BASE_FEATURE(kWebAssemblyInlining,
"WebAssemblyInlining",

@ -76,7 +76,6 @@ GIN_EXPORT BASE_DECLARE_FEATURE(kJavaScriptRegExpModifiers);
GIN_EXPORT BASE_DECLARE_FEATURE(kJavaScriptImportAttributes);
GIN_EXPORT BASE_DECLARE_FEATURE(kJavaScriptSetMethods);
GIN_EXPORT BASE_DECLARE_FEATURE(kJavaScriptRegExpDuplicateNamedGroups);
GIN_EXPORT BASE_DECLARE_FEATURE(kWebAssemblyTailCall);
GIN_EXPORT BASE_DECLARE_FEATURE(kWebAssemblyInlining);
GIN_EXPORT BASE_DECLARE_FEATURE(kWebAssemblyLiftoffCodeFlushing);
GIN_EXPORT BASE_DECLARE_FEATURE(kWebAssemblyGenericWrapper);

@ -435,9 +435,6 @@ void SetFlags(IsolateHolder::ScriptMode mode,
// WebAssembly features.
SetV8FlagsIfOverridden(features::kWebAssemblyTailCall,
"--experimental-wasm-return-call",
"--no-experimental-wasm-return-call");
SetV8FlagsIfOverridden(features::kWebAssemblyInlining,
"--experimental-wasm-inlining",
"--no-experimental-wasm-inlining");