From 985bcba6239792ebcb3808f1066ca6ea20ac5688 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 6 Feb 2017 16:24:33 -0800 Subject: Improve handling of implicit traps (#898) * add --ignore-implicit-traps option, and by default do not ignore them, to properly preserve semantics * implicit traps can be reordered, but are side effects and should not be removed * add testing for --ignore-implicit-traps --- auto_update_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_update_tests.py') diff --git a/auto_update_tests.py b/auto_update_tests.py index 7a14f6521..b74d07ba9 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -13,7 +13,7 @@ for asm in sorted(os.listdir('test')): cmd = [os.path.join('bin', 'asm2wasm'), os.path.join('test', asm)] wasm = asm.replace('.asm.js', '.fromasm') if not precise: - cmd += ['--imprecise'] + cmd += ['--imprecise', '--ignore-implicit-traps'] wasm += '.imprecise' if not opts: wasm += '.no-opts' -- cgit v1.2.3