summaryrefslogtreecommitdiff
path: root/test/torture-s/scope-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/scope-1.c.s')
-rw-r--r--test/torture-s/scope-1.c.s18
1 files changed, 4 insertions, 14 deletions
diff --git a/test/torture-s/scope-1.c.s b/test/torture-s/scope-1.c.s
index 4989bfab5..bad8aa5d2 100644
--- a/test/torture-s/scope-1.c.s
+++ b/test/torture-s/scope-1.c.s
@@ -30,20 +30,10 @@ f: # @f
.type main,@function
main: # @main
.result i32
- .local i32
# BB#0: # %entry
- i32.const $0=, 0
- block
- i32.load $push0=, v($0)
- i32.const $push1=, 3
- i32.ne $push2=, $pop0, $pop1
- br_if $pop2, 0 # 0: down to label1
-# BB#1: # %f.exit
- call exit@FUNCTION, $0
- unreachable
-.LBB1_2: # %if.then.i
- end_block # label1:
- call abort@FUNCTION
+ i32.call $discard=, f@FUNCTION
+ i32.const $push0=, 0
+ call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end1:
@@ -53,7 +43,7 @@ main: # @main
.type v,@object
.section .data.v,"aw",@progbits
.globl v
- .align 2
+ .p2align 2
v:
.int32 3 # 0x3
.size v, 4