diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 714f3c48445..6fc0ec21125 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -904,7 +904,7 @@ and ReplaceInstWithInst.

This function replaces all uses (within a basic block) of a given instruction with a value, and then removes the original instruction. The following example illustrates the replacement of the result of a particular - AllocaInst that allocates memory for a single integer with an null + AllocaInst that allocates memory for a single integer with a null pointer to an integer.

AllocaInst* instToReplace = ...;
BasicBlock::iterator ii(instToReplace);
ReplaceInstWithValue(instToReplace->getParent()->getInstList(), ii,
Constant::getNullValue(PointerType::get(Type::IntTy)));
@@ -1092,9 +1092,9 @@ convenient form for direct access.

  • User::op_iterator - Typedef for iterator over the operand list
    - User::op_const_iterator use_iterator op_begin() - -Get an iterator to the start of the operand list.
    - use_iterator op_end() - Get an iterator to the end of the + op_iterator op_begin() - Get an iterator to the start of +the operand list.
    + op_iterator op_end() - Get an iterator to the end of the operand list.

    Together, these methods make up the iterator based interface to the operands of a User.

  • @@ -1710,13 +1710,13 @@ ConstantArray etc for representing the various types of Constants.

  • ConstantArray : This represents a constant array.
  • ConstantStruct : This represents a constant struct.
  • GlobalValue : This represents either a global variable or a function. In @@ -1819,7 +1819,7 @@ types.

    This subclass of Value defines the interface for incoming formal -arguments to a function. A Function maitanis a list of its formal +arguments to a function. A Function maintains a list of its formal arguments. An argument has a pointer to the parent Function.