mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 01:41:30 +00:00
Use stack IR when emitting text format (#312)
This commit is contained in:
@ -2,21 +2,19 @@
|
||||
(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 "test" (func $class-with-boolean-field/test))
|
||||
(func $class-with-boolean-field/test (; 0 ;) (; has Stack IR ;) (type $i) (result i32)
|
||||
(i32.store8
|
||||
(i32.const 0)
|
||||
(i32.const 1)
|
||||
)
|
||||
(i32.load8_u
|
||||
(i32.const 0)
|
||||
)
|
||||
(func $class-with-boolean-field/test (; 0 ;) (type $i) (result i32)
|
||||
i32.const 0
|
||||
i32.const 1
|
||||
i32.store8
|
||||
i32.const 0
|
||||
i32.load8_u
|
||||
)
|
||||
(func $null (; 1 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
(func $null (; 1 ;) (type $v)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user