blob: 903fd65e0b775b908c3c95b54468b1c2788c885f (
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" "memory" (memory $0 256))
(data (get_global $memoryBase) "")
(import "env" "table" (table 0 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(global $a-global i32 (i32.const 0))
(global $b-global$0 f64 (f64.const 2.14281428))
(export "foo" (func $foo-func))
(export "aglobal" (global $a-global))
(export "bar" (func $bar-func$0))
(export "bglobal" (global $b-global$0))
(func $foo-func (; 0 ;) (type $FUNCSIG$v)
(nop)
(call $bar-func$0)
(nop)
(nop)
)
(func $bar-func$0 (; 1 ;) (type $FUNCSIG$v)
(nop)
)
)
|