コード例 #1
0
        protected override void VisitCompareLessThanInstruction(CompareLessThanInstruction instruction)
        {
            ControlState.EvaluationStack.Pop(out var stackVal1, out var stackVal2);
            var resultStackVal = ComputeBinaryComparisonOperation(
                stackVal1,
                stackVal2,
                (a, b) => a.Value < b.Value,
                (a, b) => a.Value < b.Value,
                (a, b) => a.Value < b.Value
                );

            ControlState.EvaluationStack.Push(resultStackVal);

            ControlState.MoveToNextInstruction();
        }
コード例 #2
0
 protected abstract void VisitCompareLessThanInstruction(CompareLessThanInstruction instruction);