Logo Search packages:      
Sourcecode: ktechlab version File versions

CodeIterator & CodeIterator::removeAndIncrement (  ) 

Deletes the instruction that this iterator is currently pointing at (removing it from any lists), and increments the iterator to the next instruction.

Definition at line 2471 of file instruction.cpp.

References Code::removeInstruction().

Referenced by Optimizer::pruneInstructions().

      Instruction * i = *it;
      code->removeInstruction( i );
      return *this;

Generated by  Doxygen 1.6.0   Back to index