From 977b705d748cdf8b2da487e45231d56d8731fb2c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 20 Mar 2005 02:40:27 +0000 Subject: [PATCH] method was renamed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20705 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/DataStructureStats.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Analysis/DataStructure/DataStructureStats.cpp b/lib/Analysis/DataStructure/DataStructureStats.cpp index 3f8b6a93b8d..afb69b8387d 100644 --- a/lib/Analysis/DataStructure/DataStructureStats.cpp +++ b/lib/Analysis/DataStructure/DataStructureStats.cpp @@ -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 &Callees = - I->getCalleeNode()->getGlobals(); + std::vector Callees; + I->getCalleeNode()->addFullFunctionList(Callees); + if (Callees.size() > 0) { totalNumCallees += Callees.size(); ++numIndirectCalls;