self review

This commit is contained in:
Brian Carroll 2021-10-30 18:22:09 +01:00
parent b0e0c14dd8
commit 96832ed1e3
3 changed files with 41 additions and 37 deletions

View file

@ -141,8 +141,8 @@ pub struct CodeBuilder<'a> {
/// Keeps track of where Symbol values are in the VM stack
vm_stack: Vec<'a, Symbol>,
/// Which byte offsets in the code section correspond to which symbols.
/// e.g. Function indices may change when we link Roc + builtins + platform
/// Linker info to help combine the Roc module with builtin & platform modules,
/// e.g. to modify call instructions when function indices change
relocations: Vec<'a, RelocationEntry>,
}