From 28366e4b747ce2abfc2b59ad48bb02c56f4180f4 Mon Sep 17 00:00:00 2001 From: aee <117306596+aee-google@users.noreply.github.com> Date: Fri, 4 Aug 2023 13:49:19 -0700 Subject: [PATCH] Wasm: Enable experimental SIMD flag. (#1146) b/277955457 Change-Id: I3626f0334ec618ae715069a43c799d77d8ab8016 --- third_party/v8/src/wasm/wasm-js.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/v8/src/wasm/wasm-js.cc b/third_party/v8/src/wasm/wasm-js.cc index 5e0caeaf6193..a35174d2dfc1 100644 --- a/third_party/v8/src/wasm/wasm-js.cc +++ b/third_party/v8/src/wasm/wasm-js.cc @@ -2191,6 +2191,7 @@ void WasmJs::Install(Isolate* isolate, bool exposed_on_global_object) { // Setup Memory // Enables shared memory support. i::FLAG_experimental_wasm_threads = true; + i::FLAG_experimental_wasm_simd = true; Handle memory_constructor = InstallConstructorFunc(isolate, webassembly, "Memory", WebAssemblyMemory); context->set_wasm_memory_constructor(*memory_constructor);