git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: acd65bd28b852ab061aad493bc85901d386b2b9b

Files: acd65bd28b852ab061aad493bc85901d386b2b9b / tests / wast / table.wast

674 bytesRaw
1(module
2 (import "table" "externalize" (func $externalize (param i32 i32) (result i32)))
3 (import "memory" "externalize" (func $mem_externalize (param i32 i32) (result i32)))
4 (import "table" "internalize" (func $internalize (param i32 i32 i32 i32)))
5 (memory (export "memory") 1)
6 (data (i32.const 0) "test")
7 (func $test
8 (i32.const 0)
9 (call $mem_externalize (i32.const 0) (i32.const 4))
10 (i32.const 4)
11 (call $mem_externalize (i32.const 0) (i32.const 4))
12 (i32.store)
13 (i32.store)
14
15
16 i32.const 0
17 i32.const 2
18 call $externalize
19
20 i32.const 0
21 i32.const 8
22 i32.const 2
23 call $internalize
24 )
25 (export "test" (func $test)))
26

Built with git-ssb-web