protected override void VisitConvertR8Instruction(ConvertR8Instruction instruction) { ControlState.EvaluationStack.Pop(out var stackVal); var newStackVal = ComputeConversionOperation( stackVal, x => new CilStackValueFloat((double)x.Value), x => new CilStackValueFloat((double)x.Value), x => new CilStackValueFloat(x.Value), x => { throw new NotImplementedException(); }, x => { throw new NotImplementedException(); } ); ControlState.EvaluationStack.Push(newStackVal); ControlState.MoveToNextInstruction(); }
protected abstract void VisitConvertR8Instruction(ConvertR8Instruction instruction);