Handbook
Glossary
emit-gc-maps ( -- )
GC maps
Vocabulary
compiler
.
codegen
.
gc-maps
Word description
One of the last stages in code generation are emitting the GC maps which are placed directly after the generated executable code. They are emitted so that the end is aligned to a 16-byte boundary.
Definition
USING:
compiler.codegen.relocation
kernel
layouts
make
math
namespaces
sequences
;
IN:
compiler.codegen.gc-maps
:
emit-gc-maps
( -- )
serialize-gc-maps
[
length
compiled-offset
+
[
data-alignment
get
align
]
keep
-
(align-code)
]
[
%
]
bi
;