diff options
Diffstat (limited to 'test/torture-s/20070424-1.c.s')
-rw-r--r-- | test/torture-s/20070424-1.c.s | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/torture-s/20070424-1.c.s b/test/torture-s/20070424-1.c.s index c0b39aebf..a49bf971e 100644 --- a/test/torture-s/20070424-1.c.s +++ b/test/torture-s/20070424-1.c.s @@ -9,6 +9,7 @@ do_exit: # @do_exit i32.const $push0=, 0 call exit@FUNCTION, $pop0 unreachable + .endfunc .Lfunc_end0: .size do_exit, .Lfunc_end0-do_exit @@ -20,6 +21,7 @@ do_abort: # @do_abort # BB#0: # %entry call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size do_abort, .Lfunc_end1-do_abort @@ -30,15 +32,17 @@ do_abort: # @do_abort foo: # @foo .param i32, i32 # BB#0: # %entry - block .LBB2_2 + block i32.ge_s $push0=, $0, $1 - br_if $pop0, .LBB2_2 + br_if $pop0, 0 # 0: down to label0 # BB#1: # %doit call do_abort@FUNCTION unreachable .LBB2_2: # %if.end + end_block # label0: call do_exit@FUNCTION unreachable + .endfunc .Lfunc_end2: .size foo, .Lfunc_end2-foo @@ -51,9 +55,10 @@ main: # @main # BB#0: # %entry call do_exit@FUNCTION unreachable + .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |