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 $_ (func))
(type $ii (func (param i32) (result i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(memory $0 1)
(data (i32.const 8) "\08\00\00\00c\00l\00a\00s\00s\00.\00t\00s")
(table $0 1 funcref)
@ -8,7 +8,7 @@
(export "memory" (memory $0))
(export "table" (table $0))
(export "test" (func $class/test))
(func $class/test (; 0 ;) (type $ii) (param $0 i32) (result i32)
(func $class/test (; 0 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
i32.load
drop
@ -29,7 +29,7 @@
i32.store8 offset=6
local.get $0
)
(func $start (; 1 ;) (type $_)
(func $start (; 1 ;) (type $FUNCSIG$v)
nop
)
)