Skip to content

Commit 1c38766

Browse files
authored
wasm2js fuzzing: Fix up call-* import names (#7203)
call-*, call-export-* are needed for the same reasons as log-*.
1 parent b41327e commit 1c38766

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/fuzz_opt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,8 @@ def fix_output_for_js(x):
10891089
# wasm2js converts exports to valid JS forms, which affects some of
10901090
# the names in the test suite. Fix those up.
10911091
x = x.replace('log-', 'log_')
1092+
x = x.replace('call-', 'call_')
1093+
x = x.replace('export-', 'export_')
10921094

10931095
# check if a number is 0 or a subnormal, which is basically zero
10941096
def is_basically_zero(x):

0 commit comments

Comments
 (0)