summaryrefslogtreecommitdiff
path: root/test/wasm-only.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-10-04 20:04:57 -0700
committerGitHub <noreply@github.com>2016-10-04 20:04:57 -0700
commit4e1667aa3454f56b3e96df674c504cb16366b628 (patch)
treea2240899abe69c5adb9ef5061ec71967979d3b24 /test/wasm-only.fromasm.imprecise.no-opts
parentc5b8f379fc3834bc5df10743b525570ffe1a5a73 (diff)
downloadbinaryen-4e1667aa3454f56b3e96df674c504cb16366b628.tar.gz
binaryen-4e1667aa3454f56b3e96df674c504cb16366b628.tar.bz2
binaryen-4e1667aa3454f56b3e96df674c504cb16366b628.zip
handle ifs with an i64 condition #741 (#742)
Diffstat (limited to 'test/wasm-only.fromasm.imprecise.no-opts')
-rw-r--r--test/wasm-only.fromasm.imprecise.no-opts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/wasm-only.fromasm.imprecise.no-opts b/test/wasm-only.fromasm.imprecise.no-opts
index 90a5eeccd..d9490bf9b 100644
--- a/test/wasm-only.fromasm.imprecise.no-opts
+++ b/test/wasm-only.fromasm.imprecise.no-opts
@@ -613,7 +613,9 @@
(local $$9 i64)
(local $$10 i64)
(if
- (get_local $$6)
+ (i32.wrap/i64
+ (get_local $$6)
+ )
(block
(set_local $$9
(call $call2