assemblyscript/tests/compiler/ternary.optimized.wat

22 lines
403 B
Plaintext
Raw Normal View History

2017-12-04 16:26:34 +01:00
(module
(type $v (func))
(memory $0 0)
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(global $ternary/a (mut i32) (i32.const 0))
2017-12-04 16:26:34 +01:00
(export "memory" (memory $0))
(export "table" (table $0))
2017-12-04 16:26:34 +01:00
(start $start)
(func $start (; 0 ;) (type $v)
i32.const 1
set_global $ternary/a
i32.const 1
set_global $ternary/a
i32.const 1
set_global $ternary/a
2017-12-04 16:26:34 +01:00
)
(func $null (; 1 ;) (type $v)
nop
)
2017-12-04 16:26:34 +01:00
)