Relocatable VM objects


The compiler.codegen.relocation deals with assigning memory addresses to VM objects, such as the card table. Those objects have different addresses during each execution which is why they are "relocatable". The vocab is shared by the optimizing and non-optimizing compiler.

Adding relocations:
add-relocation ( class type -- )

rel-decks-offset ( class -- )

rel-safepoint ( class -- )


Adding parameters:
add-dlsym-parameters ( symbol dll -- )


Tables used during code generation:
literal-table

parameter-table

relocation-table