blob: b0c97195ae80c0721c7478a708270b3a2747759c [file] [edit]
(module
(type $0 (func))
(type $1 (func (result i32)))
(global $global$0 (mut i32) (i32.const 66112))
(global $global$1 i32 (i32.const 66112))
(global $global$2 i32 (i32.const 576))
(table 1 1 anyfunc)
(memory $0 2)
(data (i32.const 568) "\00\00\00\00\00\00\00\00")
(export "memory" (memory $0))
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "main" (func $main))
(export "__heap_base" (global $global$1))
(export "__data_end" (global $global$2))
(export "stackSave" (func $stackSave))
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "__growWasmMemory" (func $__growWasmMemory))
(func $init_x (; 0 ;) (type $0)
(i32.store offset=568
(i32.const 0)
(i32.const 14)
)
)
(func $init_y (; 1 ;) (type $0)
(i32.store offset=572
(i32.const 0)
(i32.const 144)
)
)
(func $main (; 2 ;) (type $1) (result i32)
(i32.add
(i32.load offset=568
(i32.const 0)
)
(i32.load offset=572
(i32.const 0)
)
)
)
(func $__wasm_call_ctors (; 3 ;) (type $0)
(call $init_x)
(call $init_y)
)
(func $stackSave (; 4 ;) (result i32)
(get_global $global$0)
)
(func $stackAlloc (; 5 ;) (param $0 i32) (result i32)
(local $1 i32)
(set_global $global$0
(tee_local $1
(i32.and
(i32.sub
(get_global $global$0)
(get_local $0)
)
(i32.const -16)
)
)
)
(get_local $1)
)
(func $stackRestore (; 6 ;) (param $0 i32)
(set_global $global$0
(get_local $0)
)
)
(func $__growWasmMemory (; 7 ;) (param $newSize i32) (result i32)
(grow_memory
(get_local $newSize)
)
)
)
;; METADATA: { "asmConsts": {},"staticBump": 8, "initializers": ["__wasm_call_ctors"], "declares": [], "externs": [], "implementedFunctions": ["___wasm_call_ctors","_main","_stackSave","_stackAlloc","_stackRestore","___growWasmMemory"], "exports": ["memory","__wasm_call_ctors","main","__heap_base","__data_end","stackSave","stackAlloc","stackRestore","__growWasmMemory"], "invokeFuncs": [] }