diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-24 18:25:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-24 18:25:26 -0700 |
commit | f6bc44f11bace70754470694f9101ba9cc5c2887 (patch) | |
tree | c6862019f90650140f86c2c5c02377ba2b6ad3ce /test/unit.fromasm.imprecise.no-opts | |
parent | 49ddf2f8ba2439f767cdbeb656c6ff42d5530cf8 (diff) | |
parent | 97cf0d7bf6f115d44636dd52dc7c0036567ca798 (diff) | |
download | binaryen-f6bc44f11bace70754470694f9101ba9cc5c2887.tar.gz binaryen-f6bc44f11bace70754470694f9101ba9cc5c2887.tar.bz2 binaryen-f6bc44f11bace70754470694f9101ba9cc5c2887.zip |
Merge pull request #714 from WebAssembly/precompute-void
Precompute void expressions, which helps ifs
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r-- | test/unit.fromasm.imprecise.no-opts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index 913920f8b..16a10861b 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -591,7 +591,7 @@ (i32.const 5) ) (if - (i32.const 0) + (call $return_int) (br $unlikely-continue$3) ) ) @@ -857,7 +857,7 @@ (func $smallIf (block $do-once$0 (if - (i32.const 2) + (call $return_int) (drop (call $lb (i32.const 3) @@ -870,7 +870,7 @@ ) (func $dropCall (result i32) (if - (i32.const 0) + (call $return_int) (block (drop (call $phi) @@ -986,7 +986,7 @@ (local $y f64) (set_local $x (if - (i32.const 1) + (call $return_int) (i32.trunc_s/f64 (call $abort (f64.convert_s/i32 @@ -999,7 +999,7 @@ ) (set_local $y (if - (i32.const 3) + (call $return_int) (call $abort (f64.convert_s/i32 (i32.const 7) @@ -1131,7 +1131,7 @@ (get_global $Int) ) (if - (i32.const 1) + (call $return_int) (set_global $Int (i32.const 20) ) @@ -1150,7 +1150,7 @@ ) (func $dropCallImport (if - (i32.const 1) + (call $return_int) (drop (call $return_int) ) @@ -1219,7 +1219,7 @@ (get_local $j) ) (if - (i32.const 1) + (call $return_int) (if (get_local $temp) (block |