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

34 lines
595 B
Plaintext

(module
(type $iv (func (param i32)))
(type $v (func))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $null)
(export "memory" (memory $0))
(export "table" (table $0))
(export "test" (func $class-extends/test))
(func $class-extends/test (; 0 ;) (; has Stack IR ;) (type $iv) (param $0 i32)
(drop
(i32.load
(get_local $0)
)
)
(drop
(i32.load16_s offset=4
(get_local $0)
)
)
(i32.store
(get_local $0)
(i32.const 2)
)
(i32.store16 offset=4
(get_local $0)
(i32.const 3)
)
)
(func $null (; 1 ;) (; has Stack IR ;) (type $v)
(nop)
)
)