Skip to content

Commit

Permalink
Wasm: Enable experimental SIMD flag. (youtube#1146)
Browse files Browse the repository at this point in the history
b/277955457

Change-Id: I3626f0334ec618ae715069a43c799d77d8ab8016
  • Loading branch information
aee-google authored Aug 4, 2023
1 parent ba985e5 commit 28366e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third_party/v8/src/wasm/wasm-js.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<JSFunction> memory_constructor =
InstallConstructorFunc(isolate, webassembly, "Memory", WebAssemblyMemory);
context->set_wasm_memory_constructor(*memory_constructor);
Expand Down

0 comments on commit 28366e4

Please sign in to comment.