summaryrefslogtreecommitdiff
path: root/test/merge/fusing.wast.toMerge
blob: 4abd0a5e1c30c0f47b93f6baa5772102804780a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(module
  (import "env" "memoryBase" (global $memoryBase i32))
  (import "env" "tableBase" (global $tableBase i32))
  (import "env" "memory" (memory $0 256))
  (import "env" "table" (table 0 anyfunc))
  (import "env" "foo" (func $b-foo))
  (export "bar" (func $bar-func))
  (global $b-global f64 (f64.const 2.14281428))
  (export "bglobal" (global $b-global))
  (import "env" "aglobal" (global $a-global i32))
  (func $b
    (call $b-foo)
  )
  (func $bar-func
    (drop (f64.const 3.14159))
    (drop (get_global $a-global))
    (drop (get_global $b-global))
  )
)