diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-04-02 20:17:09 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-04-02 20:17:09 +0000 |
| commit | d2df8ca4036632dcd881f518cffcd969a4a24b42 (patch) | |
| tree | 1c84440c69bc29f328cd37dcdea61b021534fb76 | |
| parent | a7913e66e12ba6ef8e8a5122a49fc12018bc8002 (diff) | |
| download | bcm5719-llvm-d2df8ca4036632dcd881f518cffcd969a4a24b42.tar.gz bcm5719-llvm-d2df8ca4036632dcd881f518cffcd969a4a24b42.zip | |
fix some VC compilation problems, thanks to Jeff C for pointing this out!
llvm-svn: 21044
| -rw-r--r-- | llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp index 6d01fda2d60..9ce6cde7a4d 100644 --- a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -172,11 +172,10 @@ void TDDataStructures::ComputePostOrder(Function &F,hash_set<DSGraph*> &Visited, Visited.insert(&G); // Recursively traverse all of the callee graphs. - for (DSGraph::fc_iterator CI = G.fc_begin(), E = G.fc_end(); CI != E; ++CI) { + for (DSGraph::fc_iterator CI = G.fc_begin(), CE = G.fc_end(); CI != CE; ++CI){ Instruction *CallI = CI->getCallSite().getInstruction(); - BUDataStructures::callee_iterator I = - BUInfo->callee_begin(CallI), E = BUInfo->callee_end(CallI); - for (; I != E; ++I) + for (BUDataStructures::callee_iterator I = BUInfo->callee_begin(CallI), + E = BUInfo->callee_end(CallI); I != E; ++I) ComputePostOrder(*I->second, Visited, PostOrder); } |

