blob: 087906b58086b8662202c0cbbafb4e71b9118a08 [file] [log] [blame]
(module
(type $FUNCSIG$v (func))
(import "env" "js_func" (func $a_js_func))
(import "env" "DYNAMICTOP_PTR" (global $DYNAMICTOP_PTR$asm2wasm$import i32))
(import "env" "memory" (memory $0 256 256))
(import "env" "table" (table 10 10 anyfunc))
(global $__THREW__ (mut i32) (i32.const 0))
(global $from_segment (mut i32) (i32.const 0))
(global $from_segment_2 (mut i32) (i32.const 0))
(elem (get_global $from_segment_2) $table_func)
(data (i32.const 1024) "abcd")
(data (get_global $from_segment) "abcd")
(export "wasm_func" (func $a_wasm_func))
(func $table_func (; 1 ;) (type $FUNCSIG$v)
(nop)
)
(func $a_wasm_func (; 2 ;) (type $FUNCSIG$v)
(call $a_js_func)
(drop
(get_global $DYNAMICTOP_PTR$asm2wasm$import)
)
(drop
(get_global $__THREW__)
)
)
)