diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-04-08 15:49:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 15:49:26 -0700 |
commit | c5ad2e5ecc517030aa242c18fd738b9d79f11429 (patch) | |
tree | 7b12d8c5896d5a0d1806efefc9abc5267e5f99eb /check.py | |
parent | 3eb9b27246d5d021d68b9a854c064d5a537728dd (diff) | |
download | binaryen-c5ad2e5ecc517030aa242c18fd738b9d79f11429.tar.gz binaryen-c5ad2e5ecc517030aa242c18fd738b9d79f11429.tar.bz2 binaryen-c5ad2e5ecc517030aa242c18fd738b9d79f11429.zip |
Move segment merging to fit web limits into its own pass (#1980)
It was previously part of writing a binary, but changing the number of
segments at such a late stage would not work in the presence of bulk
memory's datacount section. Also updates the memory packing pass
to respect the web's limits on the number of data segments.
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -240,7 +240,8 @@ def run_ctor_eval_tests(): print '..', t t = os.path.join(test_dir, t) ctors = open(t + '.ctors').read().strip() - cmd = WASM_CTOR_EVAL + [t, '-o', 'a.wast', '-S', '--ctors', ctors] + # TODO: remove --disable-bulk-memory once default feature set is MVP + cmd = WASM_CTOR_EVAL + [t, '--disable-bulk-memory', '-o', 'a.wast', '-S', '--ctors', ctors] run_command(cmd) actual = open('a.wast').read() out = t + '.out' |