generate Replacement
Generate code to replace this L2Instruction. Leave the generator in a state that ensures any L2SemanticValues that would have been written by the old instruction are instead written by the new code. Leave the code regenerator at the point where subsequent instructions of the rebuilt block will be re-emitted, whether that's in the same block or not.
Parameters
instruction
The L2Instruction being replaced.
regenerator
An L2Regenerator that has been configured for writing arbitrary replacement code for this instruction.