summaryrefslogtreecommitdiff
path: root/test/torture-s/zero-struct-1.c.s
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2016-02-20 11:41:15 -0800
committerJF Bastien <github@jfbastien.com>2016-02-20 11:41:15 -0800
commit21daeab0f1fdfe799af93d35f1744873dad2ea8d (patch)
treee1419b4f57d845cfd96f7bd6ff8738d3170cf800 /test/torture-s/zero-struct-1.c.s
parent8039a98d3b4b978a4aa2d8486c35596165981c3d (diff)
parent417c43cc20e4a9aa3af290e954944f9493753139 (diff)
downloadbinaryen-21daeab0f1fdfe799af93d35f1744873dad2ea8d.tar.gz
binaryen-21daeab0f1fdfe799af93d35f1744873dad2ea8d.tar.bz2
binaryen-21daeab0f1fdfe799af93d35f1744873dad2ea8d.zip
Merge pull request #205 from WebAssembly/3321
Update torture tests to 3321
Diffstat (limited to 'test/torture-s/zero-struct-1.c.s')
-rw-r--r--test/torture-s/zero-struct-1.c.s11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/torture-s/zero-struct-1.c.s b/test/torture-s/zero-struct-1.c.s
index 9984bbd20..c26ec23fd 100644
--- a/test/torture-s/zero-struct-1.c.s
+++ b/test/torture-s/zero-struct-1.c.s
@@ -45,22 +45,17 @@ main: # @main
i32.add $push0=, $0, $pop9
i32.store $0=, ff($pop10), $pop0
block
- block
i32.const $push8=, y+2
i32.ne $push5=, $1, $pop8
- br_if 0, $pop5 # 0: down to label1
+ br_if 0, $pop5 # 0: down to label0
# BB#1: # %if.end
i32.const $push13=, y+2
i32.ne $push6=, $0, $pop13
- br_if 1, $pop6 # 1: down to label0
+ br_if 0, $pop6 # 0: down to label0
# BB#2: # %if.end3
i32.const $push7=, 0
return $pop7
-.LBB1_3: # %if.then
- end_block # label1:
- call abort@FUNCTION
- unreachable
-.LBB1_4: # %if.then2
+.LBB1_3: # %if.then2
end_block # label0:
call abort@FUNCTION
unreachable