assemblyscript/tests/compiler/new-without-allocator.optimized.wat

24 lines
601 B
Plaintext
Raw Normal View History

(module
(type $i (func (result i32)))
(type $v (func))
2018-09-13 23:10:49 +02:00
(type $FUNCSIG$i (func (result i32)))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(export "test" (func $new-without-allocator/test))
2018-09-13 23:10:49 +02:00
(func $~lib/memory/memory.allocate (; 0 ;) (; has Stack IR ;) (type $FUNCSIG$i) (result i32)
(unreachable)
)
2018-08-02 18:23:02 +02:00
(func $new-without-allocator/test (; 1 ;) (; has Stack IR ;) (type $i) (result i32)
(drop
2018-09-13 23:10:49 +02:00
(call $~lib/memory/memory.allocate)
)
(i32.const 3)
)
(func $null (; 2 ;) (; has Stack IR ;) (type $v)
(nop)
)
)