[llvm-commits] [llvm] r83707 - /llvm/trunk/lib/Transforms/Utils/SSAUpdater.cpp
Chris Lattner
sabre at nondot.org
Sat Oct 10 02:09:20 PDT 2009
Author: lattner
Date: Sat Oct 10 04:09:20 2009
New Revision: 83707
URL: http://llvm.org/viewvc/llvm-project?rev=83707&view=rev
Log:
use a typedef instead of spelling out an insane type. Yay for auto someday.
Modified:
llvm/trunk/lib/Transforms/Utils/SSAUpdater.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SSAUpdater.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SSAUpdater.cpp?rev=83707&r1=83706&r2=83707&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SSAUpdater.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SSAUpdater.cpp Sat Oct 10 04:09:20 2009
@@ -207,9 +207,9 @@
InsertedPHI->reserveOperandSpace(IncomingPredInfo.size()-FirstPredInfoEntry);
// Fill in all the predecessors of the PHI.
- for (std::vector<std::pair<BasicBlock*, TrackingVH<Value> > >::iterator I =
- IncomingPredInfo.begin()+FirstPredInfoEntry, E = IncomingPredInfo.end();
- I != E; ++I)
+ for (IncomingPredInfoTy::iterator I =
+ IncomingPredInfo.begin()+FirstPredInfoEntry,
+ E = IncomingPredInfo.end(); I != E; ++I)
InsertedPHI->addIncoming(I->second, I->first);
// Drop the entries we added in IncomingPredInfo to restore the stack.
More information about the llvm-commits
mailing list