Handbook
Glossary
resolve-label ( label/name -- )
Vocabulary
compiler
.
codegen
.
labels
Inputs
label/name
label
or
string
Outputs
None
Word description
Assigns the current
compiled-offset
to the given label.
Definition
USING:
accessors
compiler.codegen.relocation
kernel
namespaces
;
IN:
compiler.codegen.labels
:
resolve-label
( label/name -- )
dup
label?
[
get
]
unless
compiled-offset
>>offset
drop
;