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,5 +1,5 @@
(module
(type $_ (func))
(type $FUNCSIG$v (func))
(memory $0 1)
(data (i32.const 8) "\0d\00\00\00i\00n\00f\00e\00r\00-\00t\00y\00p\00e\00.\00t\00s")
(table $0 1 funcref)
@ -11,7 +11,7 @@
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start:infer-type (; 0 ;) (type $_)
(func $start:infer-type (; 0 ;) (type $FUNCSIG$v)
(local $0 i32)
i32.const 0
global.set $infer-type/ri
@ -34,10 +34,10 @@
end
end
)
(func $start (; 1 ;) (type $_)
(func $start (; 1 ;) (type $FUNCSIG$v)
call $start:infer-type
)
(func $null (; 2 ;) (type $_)
(func $null (; 2 ;) (type $FUNCSIG$v)
nop
)
)