Created
October 4, 2016 18:30
-
-
Save lqd/e3a72ec93e7e51bfa171677b794a7784 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(module | |
(memory 1 1) | |
(start $__wasm_start) | |
(type $rustfn-0-3 (func)) | |
(type $__wasm_start (func)) | |
(export "memory" (memory $0)) | |
(export "main" (func $main)) | |
(func $main (type $rustfn-0-3) | |
(local $0 i32) | |
(local $1 i32) | |
(local $2 i64) | |
(block $block$1$break | |
(set_local $0 | |
(i32.load | |
(i32.const 0) | |
) | |
) | |
(block | |
(br $block$1$break) | |
) | |
) | |
(block | |
(block $block$2$break | |
(block $bb0 | |
) | |
(block | |
(br $block$2$break) | |
) | |
) | |
(block | |
(block $bb1 | |
(i32.store | |
(i32.const 0) | |
(get_local $0) | |
) | |
(return | |
(get_local $0) | |
) | |
) | |
) | |
) | |
) | |
(func $__wasm_start (type $__wasm_start) | |
(i32.store | |
(i32.const 0) | |
(i32.const 65535) | |
) | |
(drop | |
(call $main) | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment