diff options
author | Duncan Sands <baldrick@free.fr> | 2008-09-08 11:05:51 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-09-08 11:05:51 +0000 |
commit | d7b9851c4e634ed3599b1a4c70b1c76c90a11686 (patch) | |
tree | e6d0ee180e8d76901ea2b62013a8aea5966d0b22 /include/llvm | |
parent | 98d2d07d416b3431a298eec5a2bfe8b39652c3aa (diff) | |
download | external_llvm-d7b9851c4e634ed3599b1a4c70b1c76c90a11686.zip external_llvm-d7b9851c4e634ed3599b1a4c70b1c76c90a11686.tar.gz external_llvm-d7b9851c4e634ed3599b1a4c70b1c76c90a11686.tar.bz2 |
Reapply 55859. This doesn't change anything as
long as the callgraph is correct. It checks
for wrong callgraphs more strictly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Analysis/CallGraph.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index 00c804c..e63db75 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -214,17 +214,12 @@ public: CalledFunctions.clear(); } - /// addCalledFunction add a function to the list of functions called by this + /// addCalledFunction - Add a function to the list of functions called by this /// one. void addCalledFunction(CallSite CS, CallGraphNode *M) { CalledFunctions.push_back(std::make_pair(CS, M)); } - /// removeCallEdgeTo - This method removes a *single* edge to the specified - /// callee function. Note that this method takes linear time, so it should be - /// used sparingly. - void removeCallEdgeTo(CallGraphNode *Callee); - /// removeCallEdgeFor - This method removes the edge in the node for the /// specified call site. Note that this method takes linear time, so it /// should be used sparingly. |