blob: fe652d9cde79e6030626fb1e62809ff1dd4f00ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
(module
(type $0 (func))
(import "env" "memory" (memory $0 256))
(data (get_global $memoryBase) "hello, this is some data!")
(import "env" "table" (table 2 anyfunc))
(elem (get_global $tableBase) $foo $foo)
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "memoryBase" (global $memoryBase$0 i32))
(import "env" "tableBase" (global $tableBase$0 i32))
(func $foo (; 0 ;) (type $0)
(drop
(get_global $tableBase$0)
)
(drop
(get_global $memoryBase$0)
)
)
)
|