assemblyscript/tests/compiler/ternary.optimized.wat
2018-10-11 08:49:08 +02:00

25 lines
464 B
Plaintext

(module
(type $v (func))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $null)
(global $ternary/a (mut i32) (i32.const 0))
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $start (; 0 ;) (; has Stack IR ;) (type $v)
(set_global $ternary/a
(i32.const 1)
)
(set_global $ternary/a
(i32.const 1)
)
(set_global $ternary/a
(i32.const 1)
)
)
(func $null (; 1 ;) (; has Stack IR ;) (type $v)
(nop)
)
)