mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-04 18:24:38 +00:00
use a callee_iterator typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -120,7 +120,7 @@ unsigned CompleteBUDataStructures::calculateSCCGraphs(DSGraph &FG,
|
||||
Instruction *Call = CI->getCallSite().getInstruction();
|
||||
|
||||
// Loop over all of the actually called functions...
|
||||
ActualCalleesTy::iterator I = callee_begin(Call), E = callee_end(Call);
|
||||
callee_iterator I = callee_begin(Call), E = callee_end(Call);
|
||||
for (; I != E && I->first == Call; ++I) {
|
||||
assert(I->first == Call && "Bad callee construction!");
|
||||
if (!I->second->isExternal()) {
|
||||
@ -197,7 +197,7 @@ void CompleteBUDataStructures::processGraph(DSGraph &G) {
|
||||
// Inline direct calls as well as indirect calls because the direct
|
||||
// callee may have indirect callees and so may have changed.
|
||||
//
|
||||
ActualCalleesTy::iterator I = callee_begin(TheCall),E = callee_end(TheCall);
|
||||
callee_iterator I = callee_begin(TheCall),E = callee_end(TheCall);
|
||||
unsigned TNum = 0, Num = 0;
|
||||
DEBUG(Num = std::distance(I, E));
|
||||
for (; I != E; ++I, ++TNum) {
|
||||
|
Reference in New Issue
Block a user