mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 23:17:10 +00:00
Fixed syntax error (in documentation!): missing parenthesis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -900,7 +900,7 @@ instruction. The following example illustrates the replacement of one
|
|||||||
AllocaInst* instToReplace = ...;
|
AllocaInst* instToReplace = ...;
|
||||||
BasicBlock::iterator ii(instToReplace);
|
BasicBlock::iterator ii(instToReplace);
|
||||||
ReplaceInstWithInst(instToReplace->getParent()->getInstList(), ii,
|
ReplaceInstWithInst(instToReplace->getParent()->getInstList(), ii,
|
||||||
new AllocaInst(Type::IntTy, 0, "ptrToReplacedInt");
|
new AllocaInst(Type::IntTy, 0, "ptrToReplacedInt"));
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
Reference in New Issue
Block a user