mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 21:46:50 +00:00
avoid varialbe name collisions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
805213e65c
commit
5d85f8f66e
@ -311,7 +311,8 @@ processSCC(DSGraph &FG, std::vector<DSGraph*> &Stack, unsigned &NextID,
|
|||||||
Stack.push_back(&FG);
|
Stack.push_back(&FG);
|
||||||
|
|
||||||
// The edges out of the current node are the call site targets...
|
// 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();
|
Instruction *Call = CI->getCallSite().getInstruction();
|
||||||
|
|
||||||
// Loop over all of the actually called functions...
|
// 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.
|
// Else we need to inline some callee graph. Visit all call sites.
|
||||||
// The edges out of the current node are the call site targets...
|
// The edges out of the current node are the call site targets...
|
||||||
unsigned i = 0;
|
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) {
|
++CI, ++i) {
|
||||||
const DSCallSite &CS = *CI;
|
const DSCallSite &CS = *CI;
|
||||||
Instruction *TheCall = CS.getCallSite().getInstruction();
|
Instruction *TheCall = CS.getCallSite().getInstruction();
|
||||||
|
Loading…
Reference in New Issue
Block a user