mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 18:26:40 +00:00
Use stack IR when emitting text format (#312)
This commit is contained in:
@ -3,24 +3,23 @@
|
||||
(type $v (func))
|
||||
(type $FUNCSIG$v (func))
|
||||
(memory $0 0)
|
||||
(table 1 anyfunc)
|
||||
(table $0 1 anyfunc)
|
||||
(elem (i32.const 0) $null)
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(export "test" (func $class-overloading/test))
|
||||
(start $start)
|
||||
(func $class-overloading/Foo#baz (; 0 ;) (; has Stack IR ;) (type $FUNCSIG$v)
|
||||
(nop)
|
||||
(func $class-overloading/Foo#baz (; 0 ;) (type $FUNCSIG$v)
|
||||
nop
|
||||
)
|
||||
(func $class-overloading/test (; 1 ;) (; has Stack IR ;) (type $iv) (param $0 i32)
|
||||
(call $class-overloading/Foo#baz)
|
||||
(func $class-overloading/test (; 1 ;) (type $iv) (param $0 i32)
|
||||
call $class-overloading/Foo#baz
|
||||
)
|
||||
(func $start (; 2 ;) (; has Stack IR ;) (type $v)
|
||||
(call $class-overloading/test
|
||||
(i32.const 0)
|
||||
)
|
||||
(func $start (; 2 ;) (type $v)
|
||||
i32.const 0
|
||||
call $class-overloading/test
|
||||
)
|
||||
(func $null (; 3 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
(func $null (; 3 ;) (type $v)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user