replace Registers
open override fun replaceRegisters(registerRemap: Map<L2Register, L2Register>, theInstruction: L2Instruction)
Replace occurrences in this operand of each register that is a key of this map with the register that is the corresponding value. Do nothing to registers that are not keys of the map. Update all secondary structures, such as the instruction's source/destination collections.
Parameters
register Remap
A mapping to transform registers in-place.
the Instruction
The instruction containing this operand.