projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e11cd
)
simplify this.
author
Chris Lattner
<sabre@nondot.org>
Fri, 15 Feb 2008 22:57:17 +0000
(22:57 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 15 Feb 2008 22:57:17 +0000
(22:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47187
91177308
-0d34-0410-b5e6-
96231b3b80d8
docs/ProgrammersManual.html
patch
|
blob
|
history
diff --git
a/docs/ProgrammersManual.html
b/docs/ProgrammersManual.html
index 7bec1b964dc85a9ca95caedfe790947e2f8d4e6d..5932aaf727f22c3fa1ebed0ce310cc7e24e9142e 100644
(file)
--- a/
docs/ProgrammersManual.html
+++ b/
docs/ProgrammersManual.html
@@
-1914,9
+1914,7
@@
erase function to remove your instruction. For example:</p>
<div class="doc_code">
<pre>
<a href="#Instruction">Instruction</a> *I = .. ;
-<a href="#BasicBlock">BasicBlock</a> *BB = I->getParent();
-
-BB->getInstList().erase(I);
+I->eraseFromParent();
</pre>
</div>