mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 13:32:09 +00:00
Fixed syntax error (in documentation!): missing parenthesis.
llvm-svn: 6020
This commit is contained in:
parent
4e7a30e565
commit
8cff58b409
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user