Skip to content

Commit 93c541d

Browse files
authored
Fuzzer: Improve V8 flags (#7482)
`--liftoff/--no-liftoff` are enough to control which tier we get. Removing the extra flags avoids a warning. Test with `--no-wasm-generic-wrapper` sometimes, which was suggested.
1 parent fa99f50 commit 93c541d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/fuzz_opt.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ def get_v8_extra_flags():
676676
return ['--future'] if random.random() < 0.5 else []
677677

678678

679-
V8_LIFTOFF_ARGS = ['--liftoff', '--no-wasm-tier-up']
679+
V8_LIFTOFF_ARGS = ['--liftoff']
680680

681681

682682
# Default to running with liftoff enabled, because we need to pick either
@@ -848,7 +848,10 @@ class D8Turboshaft(D8):
848848
name = 'd8_turboshaft'
849849

850850
def run(self, wasm):
851-
return super(D8Turboshaft, self).run(wasm, extra_d8_flags=['--no-liftoff', '--turboshaft-wasm', '--turboshaft-wasm-instruction-selection-staged'])
851+
flags = ['--no-liftoff']
852+
if random.random() < 0.5:
853+
flags += ['--no-wasm-generic-wrapper']
854+
return super(D8Turboshaft, self).run(wasm, extra_d8_flags=flags)
852855

853856
class Wasm2C:
854857
name = 'wasm2c'

0 commit comments

Comments
 (0)