blob: 16f1321148de3597efdbee4d810e2dea79ea6f68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
(module
(import "env" "memory" (memory $0 256 256))
(import "env" "memoryBase" (global $memoryBase i32))
(data (get_global $memoryBase) "hello_world.asm.js")
(export "add" (func $add))
(func $add (; 0 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (result i32)
(i32.add
(get_local $0)
(get_local $1)
)
)
)
|