Handbook
Glossary
serialize-gc-maps ( -- byte-array )
Vocabulary
compiler
.
codegen
.
gc-maps
Inputs
None
Outputs
byte-array
a
byte-array
Word description
Serializes the gc-maps that have been registered in the
gc-maps
variable into a byte-array.
Definition
USING:
arrays
kernel
make
namespaces
sequences
;
IN:
compiler.codegen.gc-maps
:
serialize-gc-maps
( -- byte-array )
[
return-addresses
get
empty?
[
{
}
]
[
gc-maps
get
[
emit-gc-info-bitmap
]
[
emit-base-tables
]
bi
2array
]
if
return-addresses
get
emit-uints
emit-uints
return-addresses
get
length
emit-uint
]
B{
}
make
;