diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 421f3021ed3..d9571c882d4 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -669,8 +669,7 @@ pb->getInstList().insert(pi, newInst); // inserts newInst before pi in pb

  • Insertion into an implicit instruction list -

    -Instruction instances that are already in +

    Instruction instances that are already in BasicBlocks are implicitly associated with an existing instruction list: the instruction list of the enclosing basic block. Thus, we could have accomplished the same thing as the above code @@ -695,7 +694,7 @@ Instruction* newInst = new Instruction(..., pi); which is much cleaner, especially if you're creating a lot of instructions and adding them to BasicBlocks. -

    +

    @@ -718,17 +717,59 @@ For example:

    BB->getInstList().erase(I);

    -


    Replacing an Instruction with another Value