mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 13:11:52 +00:00
fix
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
(module
|
||||
(type $FUNCSIG$vi (func (param i32)))
|
||||
(type $FUNCSIG$ii (func (param i32) (result i32)))
|
||||
(type $FUNCSIG$v (func))
|
||||
(memory $0 0)
|
||||
(table $0 1 funcref)
|
||||
@ -7,20 +8,31 @@
|
||||
(export "memory" (memory $0))
|
||||
(export "test" (func $class-overloading/test))
|
||||
(start $start)
|
||||
(func $class-overloading/Foo#baz (; 0 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/stub/__retain (; 0 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
local.get $0
|
||||
)
|
||||
(func $class-overloading/Foo#baz (; 1 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
nop
|
||||
)
|
||||
(func $class-overloading/test (; 1 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
(func $~lib/rt/stub/__release (; 2 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
nop
|
||||
)
|
||||
(func $class-overloading/test (; 3 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
local.get $0
|
||||
call $~lib/rt/stub/__retain
|
||||
drop
|
||||
local.get $0
|
||||
call $class-overloading/Foo#baz
|
||||
local.get $0
|
||||
call $~lib/rt/stub/__release
|
||||
)
|
||||
(func $start:class-overloading (; 2 ;) (type $FUNCSIG$v)
|
||||
(func $start:class-overloading (; 4 ;) (type $FUNCSIG$v)
|
||||
i32.const 0
|
||||
call $class-overloading/test
|
||||
)
|
||||
(func $start (; 3 ;) (type $FUNCSIG$v)
|
||||
(func $start (; 5 ;) (type $FUNCSIG$v)
|
||||
call $start:class-overloading
|
||||
)
|
||||
(func $null (; 4 ;) (type $FUNCSIG$v)
|
||||
(func $null (; 6 ;) (type $FUNCSIG$v)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user