Skip to content
Snippets Groups Projects
Commit d2df8ca4 authored by Chris Lattner's avatar Chris Lattner
Browse files

fix some VC compilation problems, thanks to Jeff C for pointing this out!

llvm-svn: 21044
parent a7913e66
No related branches found
No related tags found
No related merge requests found
...@@ -172,11 +172,10 @@ void TDDataStructures::ComputePostOrder(Function &F,hash_set<DSGraph*> &Visited, ...@@ -172,11 +172,10 @@ void TDDataStructures::ComputePostOrder(Function &F,hash_set<DSGraph*> &Visited,
Visited.insert(&G); Visited.insert(&G);
// Recursively traverse all of the callee graphs. // 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(); Instruction *CallI = CI->getCallSite().getInstruction();
BUDataStructures::callee_iterator I = for (BUDataStructures::callee_iterator I = BUInfo->callee_begin(CallI),
BUInfo->callee_begin(CallI), E = BUInfo->callee_end(CallI); E = BUInfo->callee_end(CallI); I != E; ++I)
for (; I != E; ++I)
ComputePostOrder(*I->second, Visited, PostOrder); ComputePostOrder(*I->second, Visited, PostOrder);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment