示例#1
0
 public void Prepend(Instruction inst)
 {
     instructions.Insert(0, inst);
     rawInstructionSize += inst.GetInstructionSize();
 }
示例#2
0
 public void Append(Instruction inst)
 {
     instructions.Add(inst);
     rawInstructionSize += inst.GetInstructionSize();
 }
示例#3
0
 public void Append(Instruction instruction)
 {
     if(currentNode != null)
         instruction.SetPosition(currentNode.GetPosition());
     currentBlock.Append(instruction);
 }