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

28 lines
537 B
Plaintext
Raw Normal View History

2018-01-04 01:36:26 +01:00
(module
2019-02-07 15:26:26 +01:00
(type $i_ (func (param i32)))
(type $_ (func))
(memory $0 0)
(table $0 1 funcref)
(elem (i32.const 0) $null)
(global $HEAP_BASE i32 (i32.const 8))
2018-01-04 01:36:26 +01:00
(export "memory" (memory $0))
(export "table" (table $0))
(export "test" (func $class-extends/test))
2019-02-07 15:26:26 +01:00
(func $class-extends/test (; 0 ;) (type $i_) (param $0 i32)
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
2018-01-04 01:36:26 +01:00
)
2019-02-07 15:26:26 +01:00
(func $null (; 1 ;) (type $_)
)
2018-01-04 01:36:26 +01:00
)