| (module |
| (type $i32_=>_i32 (func (param i32) (result i32))) |
| (type $none_=>_none (func)) |
| (type $none_=>_i32 (func (result i32))) |
| (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) |
| (type $i64_=>_i32 (func (param i64) (result i32))) |
| (type $i32_f32_f64_=>_f32 (func (param i32 f32 f64) (result f32))) |
| (type $i32_f64_f64_=>_f32 (func (param i32 f64 f64) (result f32))) |
| (import "env" "puts" (func $puts1 (param i32) (result i32))) |
| (import "env" "invoke_ffd" (func $invoke_ffd (param i32 f32 f64) (result f32))) |
| (import "env" "invoke_ffd" (func $invoke_ffd2 (param i32 f64 f64) (result f32))) |
| (import "env" "puts" (func $legalimport$puts2 (param i32 i32) (result i32))) |
| (memory $0 2) |
| (data (i32.const 568) "Hello, world\00") |
| (table $0 1 1 funcref) |
| (global $global$0 (mut i32) (i32.const 66128)) |
| (global $global$1 i32 (i32.const 66128)) |
| (global $global$2 i32 (i32.const 581)) |
| (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 "__growWasmMemory" (func $__growWasmMemory)) |
| (func $main (result i32) |
| (drop |
| (call $puts1 |
| (i32.const 568) |
| ) |
| ) |
| (i32.const 0) |
| ) |
| (func $__wasm_call_ctors |
| (nop) |
| ) |
| (func $legalfunc$puts2 (param $0 i64) (result i32) |
| (call $legalimport$puts2 |
| (i32.wrap_i64 |
| (local.get $0) |
| ) |
| (i32.wrap_i64 |
| (i64.shr_u |
| (local.get $0) |
| (i64.const 32) |
| ) |
| ) |
| ) |
| ) |
| (func $__growWasmMemory (param $newSize i32) (result i32) |
| (memory.grow |
| (local.get $newSize) |
| ) |
| ) |
| ) |
| (; |
| --BEGIN METADATA -- |
| { |
| "staticBump": 13, |
| "tableSize": 1, |
| "initializers": [ |
| "__wasm_call_ctors" |
| ], |
| "declares": [ |
| "puts" |
| ], |
| "externs": [ |
| ], |
| "exports": [ |
| "__wasm_call_ctors", |
| "main", |
| "__growWasmMemory" |
| ], |
| "namedGlobals": { |
| "__heap_base" : "66128", |
| "__data_end" : "581" |
| }, |
| "invokeFuncs": [ |
| "invoke_ffd" |
| ], |
| "mainReadsParams": 0, |
| "features": [ |
| ] |
| } |
| -- END METADATA -- |
| ;) |