From 75d127c02f94543812c963a6ac1b4c7eacbf36c5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 8 Apr 2026 13:49:01 -0700 Subject: [PATCH] move --- scripts/fuzz_opt.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index 784476d89c2..2f32eac59fb 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -688,6 +688,10 @@ def get_v8_extra_flags(): if random.random() < 0.5: flags += ['--wasm-assert-types'] + # Some other options make sense to use sometimes. + if random.random() < 0.5: + flags += ['--no-wasm-generic-wrapper'] + return flags @@ -862,8 +866,6 @@ class D8Turboshaft(D8): def run(self, wasm): flags = ['--no-liftoff'] - if random.random() < 0.5: - flags += ['--no-wasm-generic-wrapper'] return super().run(wasm, extra_d8_flags=flags) class Wasm2C: