From b14e3cd4d74952d4ec9f862fccd7af5391e7e7c1 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Fri, 5 Aug 2022 13:45:10 +0200 Subject: [PATCH] Reland "[wasm] Enable lazy compilation on --future" This is a reland of commit b67385d22f2d3002799ceade857b0668858b2809 The fix landed in https://chromium-review.googlesource.com/c/v8/v8/+/3819643 Original change's description: > [wasm] Enable lazy compilation on --future > > This should increase test coverage of lazy compilation. > > R=clemensb@chromium.org > > Bug: v8:12852 > Change-Id: I205f4b642576add07db5851126370becdad52fb8 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3784597 > Commit-Queue: Andreas Haas > Reviewed-by: Clemens Backes > Cr-Commit-Position: refs/heads/main@{#82291} Bug: v8:12852 Change-Id: I97c0aa7962b79e04dd778520e4c3108e20b83c10 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3819641 Commit-Queue: Andreas Haas Reviewed-by: Tobias Tebbi Reviewed-by: Clemens Backes Cr-Commit-Position: refs/heads/main@{#82339} --- src/flags/flag-definitions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flags/flag-definitions.h b/src/flags/flag-definitions.h index 6e3659fccf..7d7db31303 100644 --- a/src/flags/flag-definitions.h +++ b/src/flags/flag-definitions.h @@ -1162,6 +1162,7 @@ DEFINE_BOOL(asm_wasm_lazy_compilation, false, DEFINE_IMPLICATION(validate_asm, asm_wasm_lazy_compilation) DEFINE_BOOL(wasm_lazy_compilation, false, "enable lazy compilation for all wasm modules") +DEFINE_WEAK_IMPLICATION(future, wasm_lazy_compilation) // Write protect code causes too much overhead for lazy compilation. DEFINE_WEAK_NEG_IMPLICATION(wasm_lazy_compilation, wasm_write_protect_code_memory)