Files: 6f04f369bd35cff2e85467647d79bd647daed87a / tests / wast / writeMem.wast
418 bytesRaw
1 | (module |
2 | (type $FUNCSIG$iii (func (param i32 i32) (result i32))) |
3 | (import "env" "writeMem" (func $writeMem (param i32 i32) (result i32))) |
4 | (table 0 anyfunc) |
5 | (memory $0 1) |
6 | (export "memory" (memory $0)) |
7 | (export "onCreation" (func $onCreation)) |
8 | (func $onCreation (result i32) |
9 | (local $0 i32) |
10 | (drop |
11 | (call $writeMem |
12 | (i32.const 0) |
13 | (i32.const 9) |
14 | ) |
15 | ) |
16 | (get_local $0) |
17 | ) |
18 | ) |
19 |
Built with git-ssb-web