mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
31 lines
519 B
Plaintext
31 lines
519 B
Plaintext
(module
|
|
(type $iv (func (param i32)))
|
|
(type $v (func))
|
|
(memory $0 0)
|
|
(export "memory" (memory $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)
|
|
)
|
|
)
|