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: