Created
June 18, 2019 06:22
-
-
Save ghaiklor/4e0a178b9e4fac617a73f03e19391ec0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
(type $t0 (func)) | |
(type $t1 (func (param i32 i32) (result i32))) | |
(import "main" "sayHello" (func $main.sayHello (type $t0))) | |
(func $add (export "add") (type $t1) (param $p0 i32) (param $p1 i32) (result i32) | |
get_local $p0 | |
get_local $p1 | |
i32.add) | |
(func $f2 (type $t0) | |
call $main.sayHello) | |
(func $f3 (type $t0) | |
nop) | |
(memory $memory (export "memory") 0) | |
(start 2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment