diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-31 00:10:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-31 00:10:58 +0000 |
commit | f9aace20fbd9b821f6297d19768ab568bd0e6db8 (patch) | |
tree | 5c1213a50bdb9f975bf24d978f45319a1eb1108a /lib/Analysis/DataStructure/CompleteBottomUp.cpp | |
parent | cff8ac20caefd48c040fdda5acdb8f1b35cd84ab (diff) |
Rename variables to work with VC++'s hokey scoping rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/CompleteBottomUp.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/CompleteBottomUp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp index 2dba93158f..1c9e3299d0 100644 --- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/lib/Analysis/DataStructure/CompleteBottomUp.cpp @@ -122,7 +122,8 @@ unsigned CompleteBUDataStructures::calculateSCCGraphs(DSGraph &FG, 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... @@ -185,7 +186,7 @@ void CompleteBUDataStructures::processGraph(DSGraph &G) { // 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(); |