git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: d48b7065a388045f96fc7be1588e12150b8de8bb

Files: d48b7065a388045f96fc7be1588e12150b8de8bb / tests / wast / private_caller.wast

593 bytesRaw
1(module
2 (import "func" "internalize" (func $internalize (param i32 i32)))
3 (import "func" "externalize" (func $externalize (param i32) (result i32)))
4 (import "test" "check" (func $check (param i32 i32)))
5 (memory (export "memory") 1)
6 (table (export "table") 1 anyfunc)
7 (elem (i32.const 0) $callback)
8 (func $call (param i32)
9 i32.const 0
10 call $externalize
11 i32.const 0
12 get_local 0
13 call $internalize
14 i32.const 0
15 call_indirect (param i32)
16 )
17 (func $callback (param i32)
18 get_local 0
19 i32.const 5
20 call $check
21 )
22 (export "call" (func $call)))
23

Built with git-ssb-web