forked from WebAssembly/binaryen
/
metrics.wast
49 lines (49 loc) · 875 Bytes
/
metrics.wast
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
(module
(memory 256 256)
(table 256 256 anyfunc)
(elem (i32.const 0) $ifs $ifs $ifs)
(data (i32.const 0) "\ff\ef\0f\1f\20\30\40\50\99")
(type $0 (func (param i32)))
(func $ifs (type $0) (param $x i32)
(local $y f32)
(block $block0
(if
(i32.const 0)
(drop
(i32.const 1)
)
)
(if
(i32.const 0)
(drop
(i32.const 1)
)
(drop
(i32.const 2)
)
)
(if
(i32.const 4)
(drop
(i32.const 5)
)
(drop
(i32.const 6)
)
)
(drop
(i32.eq
(if i32
(i32.const 4)
(i32.const 5)
(i32.const 6)
)
(i32.const 177)
)
)
)
)
)
;; module with no table or memory or anything for that matter
(module
)