Fixed syntax error (in documentation!): missing parenthesis.

llvm-svn: 6020
This commit is contained in:
Misha Brukman 2003-05-07 21:47:39 +00:00
parent 4e7a30e565
commit 8cff58b409

View 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>