summaryrefslogtreecommitdiff
path: root/src/passes/Precompute.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-10-09 11:02:05 -0700
committerGitHub <noreply@github.com>2020-10-09 11:02:05 -0700
commit369b8bdd3d9d49e4d9e0edf62e14881c14d9e352 (patch)
treed192384a68923f0d41b72bf674fa7d379aa1a0c4 /src/passes/Precompute.cpp
parent13351616886ad7d31528c6349ea397dbc6100778 (diff)
downloadbinaryen-369b8bdd3d9d49e4d9e0edf62e14881c14d9e352.tar.gz
binaryen-369b8bdd3d9d49e4d9e0edf62e14881c14d9e352.tar.bz2
binaryen-369b8bdd3d9d49e4d9e0edf62e14881c14d9e352.zip
Fix split_wast on asserts before the first module (#3206)
Normally a wast file has a module and then asserts on it, but some tests have just asserts without a module. In that case, set the module to None. (This can happen if the asserts do not refer to a module, and are at the top of the wast file.)
Diffstat (limited to 'src/passes/Precompute.cpp')
0 files changed, 0 insertions, 0 deletions