diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-15 06:29:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-15 06:29:12 +0000 |
commit | 5d85f8f66e7d837c8ebb79ac89c505c0d57f513f (patch) | |
tree | 5a8c07f379e75feec844ed01ed0b9c934e6ae8f4 /lib/Analysis/DataStructure/EquivClassGraphs.cpp | |
parent | 805213e65cbf8acfc944564c432305dda51b8bce (diff) |
avoid varialbe name collisions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/EquivClassGraphs.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/EquivClassGraphs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/lib/Analysis/DataStructure/EquivClassGraphs.cpp index ef1e01aae4..bc8f6a6b8c 100644 --- a/lib/Analysis/DataStructure/EquivClassGraphs.cpp +++ b/lib/Analysis/DataStructure/EquivClassGraphs.cpp @@ -311,7 +311,8 @@ processSCC(DSGraph &FG, std::vector<DSGraph*> &Stack, unsigned &NextID, 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 @@ void EquivClassGraphs::processGraph(DSGraph &G) { // 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(); |