forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmin.wast
More file actions
54 lines (54 loc) · 1.1 KB
/
Copy pathmin.wast
File metadata and controls
54 lines (54 loc) · 1.1 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
(module
(memory 16777216 16777216)
(export "floats" $floats)
(func $floats (param $f f32) (result f32)
(local $t f32)
(f32.add
(get_local $t)
(get_local $f)
)
)
(func $neg (param $k i32) (param $p i32)
(local $n f32)
(set_local $n
(f32.neg
(block $block0
(i32.store align=4
(get_local $k)
(get_local $p)
)
(f32.load align=4
(get_local $k)
)
)
)
)
)
(func $littleswitch (param $x i32) (result i32)
(block $topmost
(tableswitch $switch$0
(i32.sub
(get_local $x)
(i32.const 1)
)
(table (case $switch-case$1) (case $switch-case$2)) (case $switch-case$1)
(case $switch-case$1
(br $topmost
(i32.const 1)
)
)
(case $switch-case$2
(br $topmost
(i32.const 2)
)
)
)
(i32.const 0)
)
)
(func $f1 (param $i1 i32) (param $i2 i32) (param $i3 i32) (result i32)
(block $topmost
(get_local $i3)
)
)
)