1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
(module
(type $rustfn-0-3 (func))
(type $__wasm_start (func))
(memory $0 1024 1024)
(export "memory" (memory $0))
(export "main" (func $main))
(export "rust_entry" (func $__wasm_start))
(func $main (; 0 ;) (type $rustfn-0-3)
(local $0 i32)
(local $1 i32)
(local $2 i64)
(block $block$2$break
(local.set $0
(i32.load
(i32.const 0)
)
)
(block
(br $block$2$break)
)
)
(block
(block
(i32.store
(i32.const 0)
(local.get $0)
)
(return)
)
)
)
(func $__wasm_start (; 1 ;) (type $__wasm_start)
(i32.store
(i32.const 0)
(i32.const 65535)
)
(call $main)
)
)
151
(module
(type $0 (func))
(type $1 (func))
(memory $0 1024 1024)
(export "memory" (memory $0))
(export "main" (func $main))
(export "rust_entry" (func $__wasm_start))
(func $main (; 0 ;) (type $0)
(local $0 i32)
(local $1 i32)
(local $2 i64)
(block $label$1
(local.set $0
(i32.load
(i32.const 0)
)
)
(block $label$2
(br $label$1)
)
)
(block $label$3
(block $label$4
(i32.store
(i32.const 0)
(local.get $0)
)
(return)
)
(unreachable)
)
)
(func $__wasm_start (; 1 ;) (type $1)
(i32.store
(i32.const 0)
(i32.const 65535)
)
(call $main)
)
)
|