diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-27 15:15:25 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-27 15:15:25 -0700 |
commit | 4a85f62e8a83117a081e9691d8830b6a7a876d1d (patch) | |
tree | a591bf3314a2d65b776d18c3c40308d84e1855dc /check.py | |
parent | 3b2b18dc06da3895f0b54a0660ab561f2b305c92 (diff) | |
parent | 63271d39f8a1100a703adc50861e02caefc2a9d5 (diff) | |
download | binaryen-4a85f62e8a83117a081e9691d8830b6a7a876d1d.tar.gz binaryen-4a85f62e8a83117a081e9691d8830b6a7a876d1d.tar.bz2 binaryen-4a85f62e8a83117a081e9691d8830b6a7a876d1d.zip |
Merge pull request #406 from WebAssembly/i64.load32_u
Fix zero-extension in i64.load32_u.
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -550,7 +550,7 @@ if has_vanilla_emcc and has_vanilla_llvm: base = c.replace('.cpp', '').replace('.c', '') expected = open(os.path.join('test', 'wasm_backend', base + '.txt')).read() for opts in [[], ['-O1'], ['-O2']]: - only = [] if opts != ['-O1'] or 'real' in base else ['-s', 'ONLY_MY_CODE=1'] # only my code is a hack we used early in wasm backend dev, which somehow worked, but only with -O1 + only = [] if opts != ['-O1'] or '_only' not in base else ['-s', 'ONLY_MY_CODE=1'] # only my code is a hack we used early in wasm backend dev, which somehow worked, but only with -O1 command = [VANILLA_EMCC, '-o', 'a.wasm.js', os.path.join('test', 'wasm_backend', c)] + opts + only print '....' + ' '.join(command) if os.path.exists('a.wasm.js'): os.unlink('a.wasm.js') |