summaryrefslogtreecommitdiff
path: root/test/merge/fusing.wast.combined.finalized.opt
blob: 9df0a5cdcfb5084d982438cf34a5f5a8c02c172b (plain)
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
(module
 (type $FUNCSIG$v (func))
 (import "env" "memory" (memory $0 256))
 (import "env" "table" (table 8 anyfunc))
 (global $a-global i32 (i32.const 0))
 (global $b-global f64 (f64.const 2.14281428))
 
 (export "foo" (func $foo-func))
 (export "aglobal" (global $a-global))
 (export "bar" (func $bar-func))
 (export "bglobal" (global $b-global))
 (func $foo-func (type $FUNCSIG$v)
  (nop)
  (call $bar-func)
  (drop
   (get_global $a-global)
  )
  (drop
   (get_global $b-global)
  )
 )
 (func $bar-func (type $FUNCSIG$v)
  (nop)
  (drop
   (get_global $a-global)
  )
  (drop
   (get_global $b-global)
  )
 )
)