Expand description
Linking pass: converts a content-addressed Program into a flat LinkedProgram.
The linker topologically sorts function blobs by their dependency edges, then flattens per-blob instruction/constant/string pools into merged arrays, remapping operand indices so they reference the correct global positions.
Enums§
Functions§
- link
- Link a content-addressed
Programinto a flatLinkedProgram. - linked_
to_ bytecode_ program - Convert a
LinkedProgramback to the legacyBytecodeProgramformat for backward compatibility with the existing VM executor.