method was renamed.
authorChris Lattner <sabre@nondot.org>
Sun, 20 Mar 2005 02:40:27 +0000 (02:40 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Mar 2005 02:40:27 +0000 (02:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20705 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/DataStructureStats.cpp

index 3f8b6a93b8dfaa07347694843e4dc31d4f06cbb0..afb69b8387d69dca782795883d6c5615a0528bae 100644 (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;