forked from AssemblyScript/assemblyscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunction.optimized.wat
More file actions
101 lines (101 loc) · 2.24 KB
/
function.optimized.wat
File metadata and controls
101 lines (101 loc) · 2.24 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
(module
(type $v (func))
(type $i (func (result i32)))
(type $I (func (result i64)))
(type $f (func (result f32)))
(type $F (func (result f64)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$j (func (result i64)))
(type $FUNCSIG$f (func (result f32)))
(type $FUNCSIG$d (func (result f64)))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $function/v)
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $function/v (; 0 ;) (; has Stack IR ;) (type $v)
(nop)
)
(func $function/i (; 1 ;) (; has Stack IR ;) (type $i) (result i32)
(i32.const 0)
)
(func $function/I (; 2 ;) (; has Stack IR ;) (type $I) (result i64)
(i64.const 0)
)
(func $function/f (; 3 ;) (; has Stack IR ;) (type $f) (result f32)
(f32.const 0)
)
(func $function/F (; 4 ;) (; has Stack IR ;) (type $F) (result f64)
(f64.const 0)
)
(func $function/iv (; 5 ;) (; has Stack IR ;) (type $FUNCSIG$v)
(nop)
)
(func $function/ii (; 6 ;) (; has Stack IR ;) (type $FUNCSIG$i) (result i32)
(i32.const 0)
)
(func $function/II (; 7 ;) (; has Stack IR ;) (type $FUNCSIG$j) (result i64)
(i64.const 0)
)
(func $function/ff (; 8 ;) (; has Stack IR ;) (type $FUNCSIG$f) (result f32)
(f32.const 0)
)
(func $function/FF (; 9 ;) (; has Stack IR ;) (type $FUNCSIG$d) (result f64)
(f64.const 0)
)
(func $function/iii (; 10 ;) (; has Stack IR ;) (type $FUNCSIG$i) (result i32)
(i32.const 3)
)
(func $function/III (; 11 ;) (; has Stack IR ;) (type $FUNCSIG$j) (result i64)
(i64.const 3)
)
(func $function/fff (; 12 ;) (; has Stack IR ;) (type $FUNCSIG$f) (result f32)
(f32.const 3)
)
(func $function/FFF (; 13 ;) (; has Stack IR ;) (type $FUNCSIG$d) (result f64)
(f64.const 3)
)
(func $start (; 14 ;) (; has Stack IR ;) (type $v)
(call $function/v)
(drop
(call $function/i)
)
(drop
(call $function/I)
)
(drop
(call $function/f)
)
(drop
(call $function/F)
)
(call $function/iv)
(drop
(call $function/ii)
)
(drop
(call $function/II)
)
(drop
(call $function/ff)
)
(drop
(call $function/FF)
)
(call $function/iv)
(drop
(call $function/iii)
)
(drop
(call $function/III)
)
(drop
(call $function/fff)
)
(drop
(call $function/FFF)
)
)
)