assemblyscript/tests/compiler/class-extends.untouched.wat

38 lines
836 B
Plaintext
Raw Normal View History

2018-01-04 01:36:26 +01:00
(module
(type $FUNCSIG$vi (func (param i32)))
2019-06-05 23:15:39 +02:00
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$v (func))
(memory $0 0)
(table $0 1 funcref)
(elem (i32.const 0) $null)
2018-01-04 01:36:26 +01:00
(export "memory" (memory $0))
(export "test" (func $class-extends/test))
2019-06-05 23:15:39 +02:00
(func $~lib/rt/stub/__retain (; 0 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
)
(func $~lib/rt/stub/__release (; 1 ;) (type $FUNCSIG$vi) (param $0 i32)
nop
)
(func $class-extends/test (; 2 ;) (type $FUNCSIG$vi) (param $0 i32)
local.get $0
call $~lib/rt/stub/__retain
drop
local.get $0
i32.load
drop
local.get $0
i32.load16_s offset=4
drop
local.get $0
i32.const 2
i32.store
local.get $0
i32.const 3
i32.store16 offset=4
2019-06-05 23:15:39 +02:00
local.get $0
call $~lib/rt/stub/__release
2018-01-04 01:36:26 +01:00
)
2019-06-05 23:15:39 +02:00
(func $null (; 3 ;) (type $FUNCSIG$v)
)
2018-01-04 01:36:26 +01:00
)