aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-01 21:07:05 +0000
committerChris Lattner <sabre@nondot.org>2004-11-01 21:07:05 +0000
commit4457f7ea469d89353e353d534098790e8f106be9 (patch)
treefc5f68f29bea464bab1586039de2e0ef889a501e /lib/Analysis/DataStructure/EquivClassGraphs.cpp
parentdddc13f98693146ee34056231f748af3268a500c (diff)
Remove more dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/EquivClassGraphs.cpp')
-rw-r--r--lib/Analysis/DataStructure/EquivClassGraphs.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index 70c8f6bb47..d066fc273e 100644
--- a/lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
@@ -56,13 +56,12 @@ static void CheckAllGraphs(Module *M, GT &ECGraphs) {
}
#endif
-// getDSGraphForCallSite - Return the common data structure graph for
-// callees at the specified call site.
+// getSomeCalleeForCallSite - Return any one callee function at a call site.
//
Function *PA::EquivClassGraphs::
getSomeCalleeForCallSite(const CallSite &CS) const {
Function *thisFunc = CS.getCaller();
- assert(thisFunc && "getDSGraphForCallSite(): Not a valid call site?");
+ assert(thisFunc && "getSomeCalleeForCallSite(): Not a valid call site?");
DSGraph &DSG = getDSGraph(*thisFunc);
DSNode *calleeNode = DSG.getNodeForValue(CS.getCalledValue()).getNode();
std::map<DSNode*, Function *>::const_iterator I =