summaryrefslogtreecommitdiff
path: root/test/torture-s/20120105-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20120105-1.c.s')
-rw-r--r--test/torture-s/20120105-1.c.s17
1 files changed, 9 insertions, 8 deletions
diff --git a/test/torture-s/20120105-1.c.s b/test/torture-s/20120105-1.c.s
index ff450fb00..60fc4d46b 100644
--- a/test/torture-s/20120105-1.c.s
+++ b/test/torture-s/20120105-1.c.s
@@ -8,12 +8,12 @@ main: # @main
.result i32
.local i32, i32
# BB#0: # %entry
- i32.const $push13=, __stack_pointer
- i32.const $push10=, __stack_pointer
- i32.load $push11=, 0($pop10)
+ i32.const $push13=, 0
+ i32.const $push10=, 0
+ i32.load $push11=, __stack_pointer($pop10)
i32.const $push12=, 16
i32.sub $push17=, $pop11, $pop12
- i32.store $push19=, 0($pop13), $pop17
+ i32.store $push19=, __stack_pointer($pop13), $pop17
tee_local $push18=, $1=, $pop19
i32.const $push4=, 8
i32.add $push5=, $pop18, $pop4
@@ -28,11 +28,12 @@ main: # @main
i32.or $push8=, $1, $pop7
i32.call $push9=, extract@FUNCTION, $pop8
i32.store $drop=, i($0), $pop9
- i32.const $push16=, __stack_pointer
+ i32.const $push16=, 0
i32.const $push14=, 16
i32.add $push15=, $1, $pop14
- i32.store $drop=, 0($pop16), $pop15
- return $0
+ i32.store $drop=, __stack_pointer($pop16), $pop15
+ copy_local $push20=, $0
+ # fallthrough-return: $pop20
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
@@ -44,7 +45,7 @@ extract: # @extract
.result i32
# BB#0: # %entry
i32.load $push0=, 0($0):p2align=0
- return $pop0
+ # fallthrough-return: $pop0
.endfunc
.Lfunc_end1:
.size extract, .Lfunc_end1-extract