public ReplaceInstructionOnly ( |
||
instruction | The instruction. | |
return | void |
public void ReplaceInstructionOnly(BaseInstruction instruction)
{
Instruction = instruction;
}
/// <summary> /// Visitation function for AddFloat. /// </summary> /// <param name="context">The context.</param> void IIRVisitor.AddFloat(Context context) { if (context.Result.IsR4) { context.ReplaceInstructionOnly(X86.Addss); context.Size = InstructionSize.Size32; } else { context.ReplaceInstructionOnly(X86.Addsd); context.Size = InstructionSize.Size64; } }