blob: 50c7442cc19c142dc3d6c7db2b6f3278995e9618 [file] [log] [blame]
.text
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.result i32
# BB#0: # %entry
i32.const $push0=, 28
# fallthrough-return: $pop0
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
i32.call $push1=, foo@FUNCTION
i32.const $push0=, 28
i32.ne $push2=, $pop1, $pop0
br_if 0, $pop2 # 0: down to label0
# BB#1: # %if.end
i32.const $push3=, 0
call exit@FUNCTION, $pop3
unreachable
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.functype abort, void
.functype exit, void, i32