[llvm-commits] [llvm] r45327 - /llvm/trunk/docs/GarbageCollection.html
Gordon Henriksen
gordonhenriksen at mac.com
Sat Dec 22 15:34:26 PST 2007
Author: gordon
Date: Sat Dec 22 17:34:26 2007
New Revision: 45327
URL: http://llvm.org/viewvc/llvm-project?rev=45327&view=rev
Log:
Undo a wrong bit in that last patch.
Modified:
llvm/trunk/docs/GarbageCollection.html
Modified: llvm/trunk/docs/GarbageCollection.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GarbageCollection.html?rev=45327&r1=45326&r2=45327&view=diff
==============================================================================
--- llvm/trunk/docs/GarbageCollection.html (original)
+++ llvm/trunk/docs/GarbageCollection.html Sat Dec 22 17:34:26 2007
@@ -1094,8 +1094,8 @@
bool MadeChange = false;
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
- for (BasicBlock::iterator II = BB->begin(), E = BB->end(); II != E; ++II)
- if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II))
+ for (BasicBlock::iterator II = BB->begin(), E = BB->end(); II != E; )
+ if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++))
if (Function *F = CI->getCalledFunction())
switch (F->getIntrinsicID()) {
case Intrinsic::gcwrite:
More information about the llvm-commits
mailing list