diff options
author | Owen Anderson <resistor@mac.com> | 2008-09-05 23:36:01 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-09-05 23:36:01 +0000 |
commit | 6e6074508c2f781c3e52dfe0e301cb1c7f395a91 (patch) | |
tree | 78acc35e61261c50375bff374e13984acdcdce54 /include/llvm/Analysis | |
parent | d0c0fae63bbbdb2d26e62736f0654bfdc5193ccc (diff) | |
download | external_llvm-6e6074508c2f781c3e52dfe0e301cb1c7f395a91.zip external_llvm-6e6074508c2f781c3e52dfe0e301cb1c7f395a91.tar.gz external_llvm-6e6074508c2f781c3e52dfe0e301cb1c7f395a91.tar.bz2 |
Revert r55859. This is breaking the build in the abscence of its companion commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/CallGraph.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index a04c775..5fd0bdc 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -214,12 +214,17 @@ 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. |