Use Binaryen's function signature naming scheme (#522)

This commit is contained in:
Daniel Wirtz
2019-03-01 00:01:23 +01:00
committed by GitHub
parent 7184db6dde
commit 4e1bba3a24
198 changed files with 3930 additions and 3962 deletions

View File

@ -1,6 +1,6 @@
(module
(type $iiFFFFF_ (func (param i32 i32 f64 f64 f64 f64 f64)))
(type $_ (func))
(type $FUNCSIG$viiddddd (func (param i32 i32 f64 f64 f64 f64 f64)))
(type $FUNCSIG$v (func))
(import "env" "trace" (func $~lib/env/trace (param i32 i32 f64 f64 f64 f64 f64)))
(memory $0 1)
(data (i32.const 8) "\0d\00\00\00z\00e\00r\00o\00_\00i\00m\00p\00l\00i\00c\00i\00t")
@ -17,7 +17,7 @@
(export "memory" (memory $0))
(export "table" (table $0))
(export "main" (func $std/trace/main))
(func $start:std/trace (; 1 ;) (type $_)
(func $start:std/trace (; 1 ;) (type $FUNCSIG$v)
i32.const 8
i32.const 0
f64.const 0
@ -83,7 +83,7 @@
f64.const 5.5
call $~lib/env/trace
)
(func $std/trace/main (; 2 ;) (type $_)
(func $std/trace/main (; 2 ;) (type $FUNCSIG$v)
global.get $~lib/started
i32.eqz
if
@ -92,7 +92,7 @@
global.set $~lib/started
end
)
(func $null (; 3 ;) (type $_)
(func $null (; 3 ;) (type $FUNCSIG$v)
nop
)
)