diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-02 20:02:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-02 20:02:41 +0000 |
commit | 2ccc5f1081b0ffff665691d6bb2be61cd5d6123f (patch) | |
tree | af6fcae34eb0882649dd941e8e9fc8cd128c9864 /lib/Analysis/DataStructure/EquivClassGraphs.cpp | |
parent | da7c380eb41a8df8120fe109ed2cba0c0adc29ba (diff) |
use a callee_iterator typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/EquivClassGraphs.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/EquivClassGraphs.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/lib/Analysis/DataStructure/EquivClassGraphs.cpp index d3ffc5205b..b46564dd4f 100644 --- a/lib/Analysis/DataStructure/EquivClassGraphs.cpp +++ b/lib/Analysis/DataStructure/EquivClassGraphs.cpp @@ -339,8 +339,8 @@ processSCC(DSGraph &FG, std::vector<DSGraph*> &Stack, unsigned &NextID, Instruction *Call = CI->getCallSite().getInstruction(); // Loop over all of the actually called functions... - ActualCalleesTy::const_iterator I = callee_begin(Call),E = callee_end(Call); - for (; I != E; ++I) + for (callee_iterator I = callee_begin(Call), E = callee_end(Call); + I != E; ++I) if (!I->second->isExternal()) { // Process the callee as necessary. unsigned M = processSCC(getOrCreateGraph(*I->second), @@ -414,8 +414,7 @@ void EquivClassGraphs::processGraph(DSGraph &G) { // graph so we only need to do this once. // DSGraph* CalleeGraph = NULL; - ActualCalleesTy::const_iterator I = callee_begin(TheCall); - ActualCalleesTy::const_iterator E = callee_end(TheCall); + callee_iterator I = callee_begin(TheCall), E = callee_end(TheCall); unsigned TNum, Num; // Loop over all potential callees to find the first non-external callee. |