compiler.codegen.labels vocabulary
Factor handbook > Vocabulary index


Summary
Support for generation of relocatable code

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
label tupleoffset
label-fixup-state tuplelabel class offset


Symbol words
binary-literal-table
label-table


Ordinary words
WordStack effect
<label>( -- label )
add-binary-literal( obj -- label )
compute-absolute-label( label-fixup -- )
compute-labels( label-fixups -- labels' )
compute-relative-label( label-fixup -- label )
compute-target( label-fixup -- offset )
define-label( name -- )
emit-binary-literals( -- )
emit-data( obj label -- )
label-fixup( label class -- )
rel-binary-literal( literal class -- )
resolve-label( label/name -- )


Class predicate words
WordStack effect
label-fixup-state?( object -- ? )
label?( object -- ? )


Files