diff options
author | Chris Lattner <sabre@nondot.org> | 2004-09-18 21:34:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-09-18 21:34:34 +0000 |
commit | cd382a3725e46a41c6dfb923cd1ee295fa0461aa (patch) | |
tree | b45c52e03b6f78ff682c4f454c040cdf65617543 /include/llvm/Analysis | |
parent | 111a3484359f66090acf8ea3d5a74583c0a75349 (diff) | |
download | external_llvm-cd382a3725e46a41c6dfb923cd1ee295fa0461aa.zip external_llvm-cd382a3725e46a41c6dfb923cd1ee295fa0461aa.tar.gz external_llvm-cd382a3725e46a41c6dfb923cd1ee295fa0461aa.tar.bz2 |
Add CallGraphNode::removeAnyCallEdgeTo method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/CallGraph.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index 4b4db6b..8f2c302 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -251,6 +251,11 @@ public: /// used sparingly. void removeCallEdgeTo(CallGraphNode *Callee); + /// removeAnyCallEdgeTo - This method removes any call edges from this node to + /// the specified callee function. This takes more time to execute than + /// removeCallEdgeTo, so it should not be used unless necessary. + void removeAnyCallEdgeTo(CallGraphNode *Callee); + private: // Stuff to construct the node, used by CallGraph friend class CallGraph; |