2017-12-04 16:26:34 +01:00
|
|
|
(module
|
|
|
|
(type $v (func))
|
2018-06-28 01:44:32 +02:00
|
|
|
(memory $0 0)
|
2018-10-11 08:49:08 +02:00
|
|
|
(table 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))
|
2018-10-11 08:49:08 +02:00
|
|
|
(export "table" (table $0))
|
2017-12-04 16:26:34 +01:00
|
|
|
(start $start)
|
2018-08-02 18:23:02 +02:00
|
|
|
(func $start (; 0 ;) (; has Stack IR ;) (type $v)
|
2017-12-04 16:26:34 +01:00
|
|
|
(set_global $ternary/a
|
2017-12-09 02:38:17 +01:00
|
|
|
(i32.const 1)
|
2017-12-04 16:26:34 +01:00
|
|
|
)
|
|
|
|
(set_global $ternary/a
|
2017-12-09 02:38:17 +01:00
|
|
|
(i32.const 1)
|
2017-12-04 16:26:34 +01:00
|
|
|
)
|
|
|
|
(set_global $ternary/a
|
2017-12-09 02:38:17 +01:00
|
|
|
(i32.const 1)
|
2017-12-04 16:26:34 +01:00
|
|
|
)
|
|
|
|
)
|
2018-09-17 01:48:35 +02:00
|
|
|
(func $null (; 1 ;) (; has Stack IR ;) (type $v)
|
|
|
|
(nop)
|
|
|
|
)
|
2017-12-04 16:26:34 +01:00
|
|
|
)
|