llvm.org GIT mirror llvm / 74f4ded
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 Gordon Henriksen 12 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
10931093 bool MadeChange = false;
10941094
10951095 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
1096 for (BasicBlock::iterator II = BB->begin(), E = BB->end(); II != E; ++II)
1097 if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II))
1096 for (BasicBlock::iterator II = BB->begin(), E = BB->end(); II != E; )
1097 if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++))
10981098 if (Function *F = CI->getCalledFunction())
10991099 switch (F->getIntrinsicID()) {
11001100 case Intrinsic::gcwrite: