aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-22 23:34:26 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-22 23:34:26 +0000
commit74f4dedefb1cd19ecf3df5c65d6b6b36b0ec34f5 (patch)
treeaa7a65ff4372358ecdf9af7eea687ea32ee556f9 /docs
parent0adede059ed76940700195342bb5b02c79e58516 (diff)
Undo a wrong bit in that last patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/GarbageCollection.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/GarbageCollection.html b/docs/GarbageCollection.html
index c9324859ba..0e97f0234a 100644
--- a/docs/GarbageCollection.html
+++ b/docs/GarbageCollection.html
@@ -1094,8 +1094,8 @@ bool MyCollector::performCustomLowering(Function &amp;F) {
bool MadeChange = false;
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
- for (BasicBlock::iterator II = BB-&gt;begin(), E = BB-&gt;end(); II != E; ++II)
- if (IntrinsicInst *CI = dyn_cast&lt;IntrinsicInst&gt;(II))
+ for (BasicBlock::iterator II = BB-&gt;begin(), E = BB-&gt;end(); II != E; )
+ if (IntrinsicInst *CI = dyn_cast&lt;IntrinsicInst&gt;(II++))
if (Function *F = CI-&gt;getCalledFunction())
switch (F-&gt;getIntrinsicID()) {
case Intrinsic::gcwrite: