assemblyscript/tests/compiler/class-extends.optimized.wat
2018-02-17 11:09:22 +01:00

27 lines
421 B
Plaintext

(module
(type $iv (func (param i32)))
(memory $0 1)
(export "test" (func $class-extends/test))
(export "memory" (memory $0))
(func $class-extends/test (; 0 ;) (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)
)
)
)