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 $iiii_ (func (param i32 i32 i32 i32)))
(type $_ (func))
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$v (func))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(memory $0 1)
(data (i32.const 8) "\0b\00\00\00o\00v\00e\00r\00f\00l\00o\00w\00.\00t\00s\00")
@ -10,7 +10,7 @@
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start:overflow (; 1 ;) (type $_)
(func $start:overflow (; 1 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
(local $2 i32)
@ -755,9 +755,9 @@
end
end
)
(func $start (; 2 ;) (type $_)
(func $start (; 2 ;) (type $FUNCSIG$v)
call $start:overflow
)
(func $null (; 3 ;) (type $_)
(func $null (; 3 ;) (type $FUNCSIG$v)
)
)