예제 #1
0
        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();
        }
예제 #2
0
 protected abstract void VisitConvertR8Instruction(ConvertR8Instruction instruction);