blob: 2d66127e6f1f3ad6a7d1d8a810fbce341c57517c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
(module
(type $none_=>_none (func))
(import "env" "table" (table $0 10 10 funcref))
(elem (i32.const 0) $imported_table_func)
(import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
(import "env" "imported_twice" (func $imported_twice_a))
(import "env" "an-imported-table-func" (func $imported_table_func))
(global $STACKTOP (mut i32) (global.get $STACKTOP$asm2wasm$import))
(export "stackAlloc" (func $stackAlloc))
(func $stackAlloc
(drop
(global.get $STACKTOP)
)
(call $imported_twice_a)
)
)
|