assemblyscript/tests/compiler/wasi.optimized.wat

22 lines
541 B
Plaintext
Raw Normal View History

2019-03-31 19:59:39 +02:00
(module
(type $FUNCSIG$v (func))
(memory $0 1)
2019-04-02 10:58:14 +02:00
(data (i32.const 8) "\01\00\00\00\0e")
(data (i32.const 24) "w\00a\00s\00i\00.\00t\00s")
2019-04-02 16:18:44 +02:00
(table $0 1 funcref)
(elem (i32.const 0) $null)
2019-03-31 19:59:39 +02:00
(global $wasi/sig (mut i32) (i32.const 1))
2019-04-02 10:58:14 +02:00
(global $~lib/capabilities i32 (i32.const 2))
2019-03-31 19:59:39 +02:00
(export "memory" (memory $0))
(export "table" (table $0))
2019-04-02 10:58:14 +02:00
(export ".capabilities" (global $~lib/capabilities))
2019-03-31 19:59:39 +02:00
(start $start)
2019-04-02 16:18:44 +02:00
(func $start (; 0 ;) (type $FUNCSIG$v)
2019-03-31 19:59:39 +02:00
i32.const 9
global.set $wasi/sig
)
2019-04-02 16:18:44 +02:00
(func $null (; 1 ;) (type $FUNCSIG$v)
2019-03-31 19:59:39 +02:00
nop
)
)