Handbook
Glossary
rel-literal ( literal class -- )
Vocabulary
compiler
.
codegen
.
relocation
Inputs
literal
a literal
class
a relocation class
Outputs
None
Word description
Adds a reference to a literal value to the current code offset.
Definition
USING:
compiler.constants
kernel
;
IN:
compiler.codegen.relocation
:
rel-literal
( literal class -- )
[
add-literal
]
dip
rt-literal
add-relocation
;