diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-11-01 21:32:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-01 21:32:38 -0700 |
commit | 22699ebad0972fa7604dd8ffd26f9f6607e82fb0 (patch) | |
tree | cf49990c3ed2ed044c006172e965f9b3ded5402d /auto_update_tests.py | |
parent | 0ff4359de75b4dd2a786dfa50cb17b3ec01a701a (diff) | |
parent | 26cf3235f9f73a8f187fa75f274bc517a65c3fe9 (diff) | |
download | binaryen-22699ebad0972fa7604dd8ffd26f9f6607e82fb0.tar.gz binaryen-22699ebad0972fa7604dd8ffd26f9f6607e82fb0.tar.bz2 binaryen-22699ebad0972fa7604dd8ffd26f9f6607e82fb0.zip |
Merge pull request #819 from WebAssembly/optimize-memory
Pack memory segments
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index 63590f6cc..f3671b5ce 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -25,6 +25,8 @@ for asm in sorted(os.listdir('test')): # test mem init importing open('a.mem', 'wb').write(asm) cmd += ['--mem-init=a.mem'] + if asm[0] == 'e': + cmd += ['--mem-base=1024'] if 'i64' in asm or 'wasm-only' in asm: cmd += ['--wasm-only'] print '..', asm, wasm |