| (module |
| (type $none_=>_none (func)) |
| (type $none_=>_i32 (func (result i32))) |
| (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) |
| (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32))) |
| (import "env" "memory" (memory $mimport$0 0)) |
| (data (global.get $gimport$1) "{ Module.print(\"Hello world\"); }\00\00{ return $0 + $1; }\00ii\00{ Module.print(\"Got \" + $0); }\00i\00") |
| (import "env" "__indirect_function_table" (table $timport$0 0 funcref)) |
| (import "env" "__stack_pointer" (global $gimport$0 (mut i32))) |
| (import "env" "__memory_base" (global $gimport$1 i32)) |
| (import "env" "__table_base" (global $gimport$2 i32)) |
| (import "GOT.mem" "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" (global $gimport$3 (mut i32))) |
| (import "GOT.mem" "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" (global $gimport$4 (mut i32))) |
| (import "GOT.mem" "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" (global $gimport$5 (mut i32))) |
| (import "env" "emscripten_asm_const_int" (func $emscripten_asm_const_int (param i32 i32 i32) (result i32))) |
| (global $global$0 i32 (i32.const 33)) |
| (global $global$1 i32 (i32.const 54)) |
| (global $global$2 i32 (i32.const 88)) |
| (export "__post_instantiate" (func $__wasm_call_ctors)) |
| (export "__original_main" (func $__original_main)) |
| (export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" (global $global$0)) |
| (export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" (global $global$1)) |
| (export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" (global $global$2)) |
| (export "main" (func $main)) |
| (func $__wasm_call_ctors |
| (call $__wasm_apply_relocs) |
| ) |
| (func $__wasm_apply_relocs |
| (nop) |
| ) |
| (func $__original_main (result i32) |
| (local $0 i32) |
| (local $1 i32) |
| (global.set $gimport$0 |
| (local.tee $0 |
| (i32.sub |
| (global.get $gimport$0) |
| (i32.const 32) |
| ) |
| ) |
| ) |
| (drop |
| (call $emscripten_asm_const_int |
| (i32.add |
| (local.tee $1 |
| (global.get $gimport$1) |
| ) |
| (i32.const 0) |
| ) |
| (global.get $gimport$3) |
| (i32.const 0) |
| ) |
| ) |
| (i64.store offset=16 |
| (local.get $0) |
| (i64.const 115964117005) |
| ) |
| (i32.store |
| (local.get $0) |
| (call $emscripten_asm_const_int |
| (i32.add |
| (local.get $1) |
| (i32.const 34) |
| ) |
| (global.get $gimport$4) |
| (i32.add |
| (local.get $0) |
| (i32.const 16) |
| ) |
| ) |
| ) |
| (drop |
| (call $emscripten_asm_const_int |
| (i32.add |
| (local.get $1) |
| (i32.const 57) |
| ) |
| (global.get $gimport$5) |
| (local.get $0) |
| ) |
| ) |
| (global.set $gimport$0 |
| (i32.add |
| (local.get $0) |
| (i32.const 32) |
| ) |
| ) |
| (i32.const 0) |
| ) |
| (func $main (param $0 i32) (param $1 i32) (result i32) |
| (call $__original_main) |
| ) |
| ) |
| (; |
| --BEGIN METADATA -- |
| { |
| "asmConsts": { |
| "0": "{ Module.print(\"Hello world\"); }", |
| "34": "{ return $0 + $1; }", |
| "57": "{ Module.print(\"Got \" + $0); }" |
| }, |
| "tableSize": 0, |
| "declares": [ |
| "emscripten_asm_const_int" |
| ], |
| "externs": [ |
| "___stack_pointer", |
| "___memory_base", |
| "___table_base", |
| "__ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE", |
| "__ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE", |
| "__ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" |
| ], |
| "exports": [ |
| "__post_instantiate", |
| "__original_main", |
| "main" |
| ], |
| "namedGlobals": { |
| "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" : "33", |
| "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" : "54", |
| "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" : "88" |
| }, |
| "invokeFuncs": [ |
| ], |
| "mainReadsParams": 0, |
| "features": [ |
| ] |
| } |
| -- END METADATA -- |
| ;) |