method was renamed.

llvm-svn: 20705
This commit is contained in:
Chris Lattner 2005-03-20 02:40:27 +00:00
parent 5635a88fcb
commit 1ffdd57e0a
1 changed files with 3 additions and 2 deletions

View File

@ -79,8 +79,9 @@ void DSGraphStats::countCallees(const Function& F) {
I != E; ++I)
if (isIndirectCallee(I->getCallSite().getCalledValue())) {
// This is an indirect function call
const std::vector<GlobalValue*> &Callees =
I->getCalleeNode()->getGlobals();
std::vector<Function*> Callees;
I->getCalleeNode()->addFullFunctionList(Callees);
if (Callees.size() > 0) {
totalNumCallees += Callees.size();
++numIndirectCalls;