diff --git a/js/public/WasmFeatures.h b/js/public/WasmFeatures.h index c48f4503aa81..97b13b49d3fa 100644 --- a/js/public/WasmFeatures.h +++ b/js/public/WasmFeatures.h @@ -132,8 +132,7 @@ /* lower case name */ v128Relaxed, \ /* compile predicate */ WASM_RELAXED_SIMD_ENABLED, \ /* compiler predicate */ AnyCompilerAvailable(cx), \ - /* flag predicate */ !IsFuzzingCranelift(cx) && \ - js::jit::JitSupportsWasmSimd(), \ + /* flag predicate */ WasmSimdFlag(cx), \ /* shell flag */ "relaxed-simd", \ /* preference name */ "relaxed_simd") \ EXPERIMENTAL(/* capitalized name */ Memory64, \ diff --git a/js/src/jit-test/tests/wasm/simd/experimental.js b/js/src/jit-test/tests/wasm/simd/experimental.js index 6727909836ad..94f95778a857 100644 --- a/js/src/jit-test/tests/wasm/simd/experimental.js +++ b/js/src/jit-test/tests/wasm/simd/experimental.js @@ -1,4 +1,4 @@ -// |jit-test| --wasm-relaxed-simd; skip-if: !wasmSimdEnabled() +// |jit-test| --wasm-relaxed-simd; skip-if: !wasmRelaxedSimdEnabled() // Experimental opcodes. We have no text parsing support for these yet. The // tests will be cleaned up and moved into ad-hack.js if the opcodes are