summaryrefslogtreecommitdiff
path: root/test/merge/fusing.wast.combined.opt
blob: c27ab022850d039495526a59b3db738a3a5828ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(module
 (type $FUNCSIG$v (func))
 (import "env" "memoryBase" (global $memoryBase i32))
 (import "env" "tableBase" (global $tableBase i32))
 (import "env" "memory" (memory $0 256))
 (import "env" "table" (table 0 anyfunc))
 (global $a-global i32 (i32.const 0))
 (global $b-global f64 (f64.const 2.14281428))
 (data (get_global $memoryBase) "")
 (export "foo" (func $foo-func))
 (export "aglobal" (global $a-global))
 (export "bar" (func $bar-func))
 (export "bglobal" (global $b-global))
 (func $foo-func (; 0 ;) (type $FUNCSIG$v)
  (nop)
  (call $bar-func)
  (nop)
  (nop)
 )
 (func $bar-func (; 1 ;) (type $FUNCSIG$v)
  (nop)
 )
)