diff options
Diffstat (limited to 'test/torture-s/20071018-1.c.s')
-rw-r--r-- | test/torture-s/20071018-1.c.s | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/torture-s/20071018-1.c.s b/test/torture-s/20071018-1.c.s index c119d6c14..a362bbaf4 100644 --- a/test/torture-s/20071018-1.c.s +++ b/test/torture-s/20071018-1.c.s @@ -11,6 +11,7 @@ bar: # @bar i32.call $push1=, __builtin_malloc@FUNCTION, $pop0 i32.store $discard=, 0($0), $pop1 return + .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -35,6 +36,7 @@ foo: # @foo call bar@FUNCTION, $0 i32.load $push6=, 0($0) return $pop6 + .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -45,21 +47,23 @@ foo: # @foo main: # @main .result i32 # BB#0: # %entry - block .LBB2_2 + block i32.const $push0=, 1 i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push3=, 0 i32.eq $push4=, $pop1, $pop3 - br_if $pop4, .LBB2_2 + br_if $pop4, 0 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 return $pop2 .LBB2_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |