Commit b6b6fa7c authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

s390: [no-wasm][flags] Remove wasm flags

Port 05265d88

Original Commit Message:

    This removes all wasm-related flags in no-wasm builds.
    We could have made them read-only, but fully removing them actually
    forces us to consider the no-wasm case at every use site, which often
    hints at further cleanups.

R=clemensb@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
BUG=
LOG=N

Change-Id: I2340276a05a9a67756d128501e1e88a77c56effe
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2876451Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#74420}
parent fee9cd37
...@@ -160,7 +160,11 @@ static bool supportsSTFLE() { ...@@ -160,7 +160,11 @@ static bool supportsSTFLE() {
} }
bool CpuFeatures::SupportsWasmSimd128() { bool CpuFeatures::SupportsWasmSimd128() {
#if V8_ENABLE_WEBASSEMBLY
return CpuFeatures::IsSupported(VECTOR_ENHANCE_FACILITY_1); return CpuFeatures::IsSupported(VECTOR_ENHANCE_FACILITY_1);
#else
return false;
#endif // V8_ENABLE_WEBASSEMBLY
} }
void CpuFeatures::ProbeImpl(bool cross_compile) { void CpuFeatures::ProbeImpl(bool cross_compile) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment