Skip to content

Commit 61eea04

Browse files
committed
fix
1 parent 7b817d6 commit 61eea04

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/fuzz_opt.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,10 +1905,11 @@ def handle(self, wasm):
19051905
# The original output was ok, but after merging it becomes
19061906
# something we must ignore. This can happen when we optimize, if
19071907
# the optimizer reorders a normal trap (say a null exception)
1908-
# with a host limit trap (say an allocation limit). Nothing to
1909-
# do here, but verify we did optimize, as otherwise this is
1910-
# inexplicable.
1911-
assert merged == abspath('merged.opt.wasm')
1908+
# with a host limit trap (say an allocation limit). This can
1909+
# also happen because stack limits on calls change slightly when
1910+
# we go from cross-module calls to within-module calls. There
1911+
# is nothing to check in this case.
1912+
pass
19121913
else:
19131914
self.compare_to_merged_output(output, merged_output)
19141915

0 commit comments

Comments
 (0)