assemblyscript/tests/compiler/void.optimized.wat

22 lines
434 B
Plaintext
Raw Normal View History

(module
(type $i (func (result i32)))
(type $v (func))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
2018-08-02 18:23:02 +02:00
(func $void/anInt (; 0 ;) (; has Stack IR ;) (type $i) (result i32)
(i32.const 2)
)
2018-08-02 18:23:02 +02:00
(func $start (; 1 ;) (; has Stack IR ;) (type $v)
(drop
(call $void/anInt)
)
)
(func $null (; 2 ;) (; has Stack IR ;) (type $v)
(nop)
)
)