mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
fix some VC compilation problems, thanks to Jeff C for pointing this out!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0700123431
commit
1231aa3fa6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user