Ejemplo n.º 1
0
        public override void Process(Compiler compiler, MethodData methodData, Instruction instruction)
        {
            // Add instruction with reference to the int index
            methodData.OutInstructions.Add(instruction.OpCode.Value);
            methodData.OutInstructions.Add(methodData.IntOffset);

            // Append to ints
            methodData.AddInt(Convert.ToInt32(instruction.Operand));
        }