Skip to content

Commit b4c5b01

Browse files
authored
Fuzzer: Use v8's new type assertions flag (#8026)
1 parent 8070c92 commit b4c5b01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/fuzz_opt.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,10 @@ def get_v8_extra_flags():
681681
if random.random() < 0.5:
682682
flags += ['--future']
683683

684+
# Sometimes add V8's type assertions.
685+
if random.random() < 0.5:
686+
flags += ['--wasm-assert-types']
687+
684688
return flags
685689

686690

0 commit comments

Comments
 (0)