8 lines
274 B
WebAssembly Text Format
8 lines
274 B
WebAssembly Text Format
(module
|
|
(type $cont (func (param i32)))
|
|
(type $cont-stack-type (array (ref null $cont)))
|
|
(global $cont-stack (ref $cont-stack-type)
|
|
(array.new_default $cont-stack-type (i32.const 128)))
|
|
(func (export "main") (result (ref eq))
|
|
(ref.i31 (i32.const 123))))
|