| (module |
| (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32))) |
| (type $none_=>_none (func)) |
| (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) |
| (import "env" "emscripten_asm_const_int" (func $emscripten_asm_const_int (param i32 i32 i32) (result i32))) |
| (global $__stack_pointer (mut i32) (i32.const 66192)) |
| (global $global$1 i32 (i32.const 568)) |
| (global $global$2 i32 (i32.const 652)) |
| (memory $0 2) |
| (data $em_asm (i32.const 568) "") |
| (export "memory" (memory $0)) |
| (export "__wasm_call_ctors" (func $__wasm_call_ctors)) |
| (export "main" (func $main)) |
| (func $__wasm_call_ctors |
| (nop) |
| ) |
| (func $main (param $0 i32) (param $1 i32) (result i32) |
| (local $2 i32) |
| (local $3 i32) |
| (global.set $__stack_pointer |
| (local.tee $2 |
| (i32.sub |
| (global.get $__stack_pointer) |
| (i32.const 32) |
| ) |
| ) |
| ) |
| (i32.store8 offset=31 |
| (local.get $2) |
| (i32.const 0) |
| ) |
| (drop |
| (call $emscripten_asm_const_int |
| (i32.const 568) |
| (i32.add |
| (local.get $2) |
| (i32.const 31) |
| ) |
| (i32.const 0) |
| ) |
| ) |
| (i32.store8 offset=30 |
| (local.get $2) |
| (i32.const 0) |
| ) |
| (i32.store16 offset=28 align=1 |
| (local.get $2) |
| (i32.const 26985) |
| ) |
| (i64.store offset=16 |
| (local.get $2) |
| (i64.const 128849018900) |
| ) |
| (local.set $3 |
| (call $emscripten_asm_const_int |
| (i32.const 601) |
| (i32.add |
| (local.get $2) |
| (i32.const 28) |
| ) |
| (i32.add |
| (local.get $2) |
| (i32.const 16) |
| ) |
| ) |
| ) |
| (i32.store16 offset=26 align=1 |
| (local.get $2) |
| (i32.const 105) |
| ) |
| (i32.store |
| (local.get $2) |
| (i32.const 42) |
| ) |
| (drop |
| (call $emscripten_asm_const_int |
| (i32.const 621) |
| (i32.add |
| (local.get $2) |
| (i32.const 26) |
| ) |
| (local.get $2) |
| ) |
| ) |
| (global.set $__stack_pointer |
| (i32.add |
| (local.get $2) |
| (i32.const 32) |
| ) |
| ) |
| (local.get $3) |
| ) |
| ) |
| (; |
| --BEGIN METADATA -- |
| { |
| "asmConsts": { |
| "568": "{ Module.print(\"Hello world\"); }", |
| "601": "{ return $0 + $1; }", |
| "621": "{ Module.print(\"Got \" + $0); }" |
| }, |
| "declares": [ |
| "emscripten_asm_const_int" |
| ], |
| "globalImports": [ |
| ], |
| "exports": [ |
| "__wasm_call_ctors", |
| "main" |
| ], |
| "namedGlobals": { |
| }, |
| "invokeFuncs": [ |
| ], |
| "mainReadsParams": 1, |
| "features": [ |
| ] |
| } |
| -- END METADATA -- |
| ;) |