mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 11:11:43 +00:00
Use stack IR when emitting text format (#312)
This commit is contained in:
@ -2,18 +2,18 @@
|
||||
(type $i (func (result i32)))
|
||||
(type $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 "getValue" (func $named-import-default/getValue))
|
||||
(func $named-export-default/get3 (; 0 ;) (; has Stack IR ;) (type $i) (result i32)
|
||||
(i32.const 3)
|
||||
(func $named-export-default/get3 (; 0 ;) (type $i) (result i32)
|
||||
i32.const 3
|
||||
)
|
||||
(func $named-import-default/getValue (; 1 ;) (; has Stack IR ;) (type $i) (result i32)
|
||||
(call $named-export-default/get3)
|
||||
(func $named-import-default/getValue (; 1 ;) (type $i) (result i32)
|
||||
call $named-export-default/get3
|
||||
)
|
||||
(func $null (; 2 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
(func $null (; 2 ;) (type $v)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user