Beispiel #1
0
        protected override void VisitConvertI2Instruction(ConvertI2Instruction instruction)
        {
            ControlState.EvaluationStack.Pop(out var stackVal);
            var newStackVal = ComputeConversionOperation(
                stackVal,
                x => new CilStackValueInt32((short)x.Value),
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); },
                x => { throw new NotImplementedException(); }
                );

            ControlState.EvaluationStack.Push(newStackVal);

            ControlState.MoveToNextInstruction();
        }
 protected abstract void VisitConvertI2Instruction(ConvertI2Instruction instruction);