rep-of ( vreg -- rep )
Virtual single-assignment registers

Next:set-rep-of ( rep vreg -- )


Vocabulary
compiler.cfg.registers

Inputs and outputs
vrega number
repa representation


Word description
Gets the representation for a virtual register. This word cannot be called before representation selection has run; use any-rep for ##copy instructions and so on.

Notes
Throws bad-vreg if the representation for the vreg isn't known.
A virtual register can change representation during its lifetime so this word can't always be used.


Definition