summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-09 18:34:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-09 18:34:12 -0700
commit3e00d9a1481c6f61cef163b186c2b13b8160cdad (patch)
treeab085cebcfeb1e79d0cc6985747e1e38838d4acb /test/unit.fromasm.imprecise
parentd30b98d47697daa167333db66ac0fe3d8a693eae (diff)
parent4c98c3f9c6d0c98fbcbaa44a4fc5eb3b7e21b201 (diff)
downloadbinaryen-3e00d9a1481c6f61cef163b186c2b13b8160cdad.tar.gz
binaryen-3e00d9a1481c6f61cef163b186c2b13b8160cdad.tar.bz2
binaryen-3e00d9a1481c6f61cef163b186c2b13b8160cdad.zip
Merge pull request #329 from WebAssembly/opts
Begin an AST Builder helper class, and more asm2wasm opts
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r--test/unit.fromasm.imprecise6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise
index 677336c09..0c8da43e9 100644
--- a/test/unit.fromasm.imprecise
+++ b/test/unit.fromasm.imprecise
@@ -438,13 +438,11 @@
(i32.const 1)
)
(loop $for-out$0 $for-in$1
- (if
- (i32.lt_s
+ (br_if $for-out$0
+ (i32.ge_s
(get_local $i)
(i32.const 200)
)
- (nop)
- (br $for-out$0)
)
(call_import $h
(get_local $i)