[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 19 18:40:41 PST 2005
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructureStats.cpp updated: 1.16 -> 1.17
---
Log message:
method was renamed.
---
Diffs of the changes: (+3 -2)
DataStructureStats.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/Analysis/DataStructure/DataStructureStats.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.16 llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.17
--- llvm/lib/Analysis/DataStructure/DataStructureStats.cpp:1.16 Sun Jan 30 17:51:01 2005
+++ llvm/lib/Analysis/DataStructure/DataStructureStats.cpp Sat Mar 19 20:40:27 2005
@@ -79,8 +79,9 @@
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;
More information about the llvm-commits
mailing list