[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 14 22:29:29 PST 2005
Changes in directory llvm/lib/Analysis/DataStructure:
EquivClassGraphs.cpp updated: 1.27 -> 1.28
---
Log message:
avoid varialbe name collisions
---
Diffs of the changes: (+3 -2)
EquivClassGraphs.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff -u llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.27 llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.28
--- llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.27 Mon Mar 14 22:54:18 2005
+++ llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp Tue Mar 15 00:29:12 2005
@@ -311,7 +311,8 @@
Stack.push_back(&FG);
// The edges out of the current node are the call site targets...
- for (DSGraph::fc_iterator CI = FG.fc_begin(), E = FG.fc_end(); CI != E; ++CI){
+ for (DSGraph::fc_iterator CI = FG.fc_begin(), CE = FG.fc_end();
+ CI != CE; ++CI) {
Instruction *Call = CI->getCallSite().getInstruction();
// Loop over all of the actually called functions...
@@ -375,7 +376,7 @@
// Else we need to inline some callee graph. Visit all call sites.
// The edges out of the current node are the call site targets...
unsigned i = 0;
- for (DSGraph::fc_iterator CI = G.fc_begin(), E = G.fc_end(); CI != E;
+ for (DSGraph::fc_iterator CI = G.fc_begin(), CE = G.fc_end(); CI != CE;
++CI, ++i) {
const DSCallSite &CS = *CI;
Instruction *TheCall = CS.getCallSite().getInstruction();
More information about the llvm-commits
mailing list