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