forked from WebAssembly/binaryen
/
960117-1.c.s
75 lines (69 loc) · 1.89 KB
/
960117-1.c.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/960117-1.c"
.section .text.get_id,"ax",@progbits
.hidden get_id
.globl get_id
.type get_id,@function
get_id: # @get_id
.param i32
.result i32
# BB#0: # %entry
i32.const $push0=, 0
i32.load $push1=, curval+2($pop0):p2align=1
i32.store8 0($pop1), $0
i32.const $push2=, 0
# fallthrough-return: $pop2
.endfunc
.Lfunc_end0:
.size get_id, .Lfunc_end0-get_id
.section .text.get_tok,"ax",@progbits
.hidden get_tok
.globl get_tok
.type get_tok,@function
get_tok: # @get_tok
.result i32
# BB#0: # %entry
i32.const $push1=, 0
i32.const $push0=, id_space
i32.store curval+2($pop1):p2align=1, $pop0
i32.const $push6=, 0
i32.const $push2=, 99
i32.store8 id_space($pop6), $pop2
i32.const $push5=, 0
i32.const $push4=, 0
i32.store16 curval($pop5), $pop4
i32.const $push3=, 0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end1:
.size get_tok, .Lfunc_end1-get_tok
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.call $drop=, get_tok@FUNCTION
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.hidden curval # @curval
.type curval,@object
.section .bss.curval,"aw",@nobits
.globl curval
.p2align 1
curval:
.skip 6
.size curval, 6
.type id_space,@object # @id_space
.section .bss.id_space,"aw",@nobits
.p2align 4
id_space:
.skip 66
.size id_space, 66
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype exit, void, i32