mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
22 lines
472 B
Plaintext
22 lines
472 B
Plaintext
(module
|
|
(type $i (func (result i32)))
|
|
(type $v (func))
|
|
(memory $0 0)
|
|
(table $0 1 anyfunc)
|
|
(elem (i32.const 0) $null)
|
|
(global $HEAP_BASE i32 (i32.const 8))
|
|
(export "memory" (memory $0))
|
|
(export "table" (table $0))
|
|
(export "test" (func $class-with-boolean-field/test))
|
|
(func $class-with-boolean-field/test (; 0 ;) (type $i) (result i32)
|
|
(local $0 i32)
|
|
get_local $0
|
|
i32.const 1
|
|
i32.store8
|
|
get_local $0
|
|
i32.load8_u
|
|
)
|
|
(func $null (; 1 ;) (type $v)
|
|
)
|
|
)
|