Fixed syntax error (in documentation!): missing parenthesis.
[oota-llvm.git] / docs / ProgrammersManual.html
index 4f21cc3c70fd47681258c06cc06f0ebc9c9b0647..85d53dc25193738170405593ee472d2a83300d8f 100644 (file)
@@ -900,7 +900,7 @@ instruction.  The following example illustrates the replacement of one
 AllocaInst* instToReplace = ...;
 BasicBlock::iterator ii(instToReplace);
 ReplaceInstWithInst(instToReplace->getParent()->getInstList(), ii,
-                    new AllocaInst(Type::IntTy, 0, "ptrToReplacedInt");
+                    new AllocaInst(Type::IntTy, 0, "ptrToReplacedInt"));
 </pre>
 
 </ul>