Commit 15d83bff authored by Manos Koukoutos's avatar Manos Koukoutos Committed by V8 LUCI CQ

[wasm-gc] Enable decompression optimization

This gives a small speedup for wasm-gc programs.

Bug: v8:7748
Change-Id: I4a172251ab85e2a5e030ee5cae97db9e3655f5cd
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3654095Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80632}
parent e80779d2
...@@ -3250,6 +3250,12 @@ void Pipeline::GenerateCodeForWasmFunction( ...@@ -3250,6 +3250,12 @@ void Pipeline::GenerateCodeForWasmFunction(
pipeline.Run<MemoryOptimizationPhase>(); pipeline.Run<MemoryOptimizationPhase>();
pipeline.RunPrintAndVerify(MemoryOptimizationPhase::phase_name(), true); pipeline.RunPrintAndVerify(MemoryOptimizationPhase::phase_name(), true);
if (FLAG_experimental_wasm_gc) {
pipeline.Run<DecompressionOptimizationPhase>();
pipeline.RunPrintAndVerify(DecompressionOptimizationPhase::phase_name(),
true);
}
if (FLAG_turbo_splitting && !is_asm_js) { if (FLAG_turbo_splitting && !is_asm_js) {
data.info()->set_splitting(); data.info()->set_splitting();
} }
......
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