git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: 609307921c4c0a7292513248cc13f16b199ec5f0

Files: 609307921c4c0a7292513248cc13f16b199ec5f0 / tests / wast / i64.wast

867 bytesRaw
1(module
2 (import "func" "internalize" (func $func.internalize (param i32 i32)))
3 (import "test" "check" (func $check (param i32 i32)))
4 (import "module" "self" (func $self (result i32)))
5 (import "module" "export" (func $exports (param i32 i32) (result i32)))
6 (import "memory" "externalize" (func $mem.externalize (param i32 i32) (result i32)))
7 (memory (export "memory") 1)
8 (data (i32.const 0) "callback")
9 (table (export "table") 1 1 anyfunc)
10 (func $main
11 (call $func.internalize
12 (i32.const 0)
13 (call $exports
14 (call $self)
15 (call $mem.externalize (i32.const 0) (i32.const 8))
16 )
17 )
18 (call_indirect (param i64) (i64.const 8) (i32.const 0))
19 )
20 (func $callback (param i64)
21 (i32.const 8)
22 (i32.wrap/i64 (get_local 0))
23 call $check
24 )
25 (export "main" (func $main))
26 (export "callback" (func $callback)))
27

Built with git-ssb-web