forked from AssemblyScript/assemblyscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages.debug.wat
87 lines (87 loc) · 1.69 KB
/
packages.debug.wat
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
76
77
78
79
80
81
82
83
84
85
86
87
(module
(type $0 (func))
(global $~lib/a/index/a i32 (i32.const 1))
(global $~lib/c/index/c i32 (i32.const 3))
(global $~lib/b/index/b i32 (i32.const 2))
(global $~lib/a/other/a_other i32 (i32.const 11))
(global $~lib/b/other/b_other i32 (i32.const 22))
(global $~lib/b/other/index/b_other_index i32 (i32.const 222))
(global $~lib/memory/__data_end i32 (i32.const 8))
(global $~lib/memory/__stack_pointer (mut i32) (i32.const 32776))
(global $~lib/memory/__heap_base i32 (i32.const 32776))
(memory $0 0)
(table $0 1 1 funcref)
(elem $0 (i32.const 1))
(export "memory" (memory $0))
(start $~start)
(func $start:~lib/c/index
global.get $~lib/a/index/a
i32.const 1
i32.eq
drop
global.get $~lib/b/index/b
i32.const 2
i32.eq
drop
)
(func $start:~lib/a/index
call $start:~lib/c/index
global.get $~lib/c/index/c
i32.const 3
i32.eq
drop
global.get $~lib/b/index/b
i32.const 2
i32.eq
drop
)
(func $start:~lib/_/index
call $start:~lib/a/index
global.get $~lib/a/index/a
i32.const 1
i32.eq
drop
global.get $~lib/a/index/a
i32.const 1
i32.eq
drop
global.get $~lib/a/index/a
i32.const 1
i32.eq
drop
global.get $~lib/a/other/a_other
i32.const 11
i32.eq
drop
global.get $~lib/b/index/b
i32.const 2
i32.eq
drop
global.get $~lib/b/index/b
i32.const 2
i32.eq
drop
global.get $~lib/b/index/b
i32.const 2
i32.eq
drop
global.get $~lib/b/other/b_other
i32.const 22
i32.eq
drop
global.get $~lib/b/other/index/b_other_index
i32.const 222
i32.eq
drop
global.get $~lib/b/other/index/b_other_index
i32.const 222
i32.eq
drop
)
(func $start:packages
call $start:~lib/_/index
)
(func $~start
call $start:packages
)
)