aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/CallGraph.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-30 22:47:19 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-30 22:47:19 +0000
commit652f7ea955bb433d6b7a4d33685dca9485fd7b8b (patch)
tree0767e9795827970bb39980558044dfd47703795c /include/llvm/Analysis/CallGraph.h
parent8666cc3b99cccef39281c715754e551a2b14363d (diff)
downloadexternal_llvm-652f7ea955bb433d6b7a4d33685dca9485fd7b8b.zip
external_llvm-652f7ea955bb433d6b7a4d33685dca9485fd7b8b.tar.gz
external_llvm-652f7ea955bb433d6b7a4d33685dca9485fd7b8b.tar.bz2
Revert 51775.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/CallGraph.h')
-rw-r--r--include/llvm/Analysis/CallGraph.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h
index b6fef71..3fe03b5 100644
--- a/include/llvm/Analysis/CallGraph.h
+++ b/include/llvm/Analysis/CallGraph.h
@@ -216,8 +216,8 @@ public:
/// 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));
+ void addCalledFunction(CallSite CS, CallGraphNode *M) {
+ CalledFunctions.push_back(std::make_pair(CS, M));
}
/// removeCallEdgeTo - This method removes a *single* edge to the specified
@@ -228,7 +228,7 @@ public:
/// 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.
- void removeCallEdgeFor(CallSite cs);
+ void removeCallEdgeFor(CallSite CS);
/// removeAnyCallEdgeTo - This method removes any call edges from this node to
/// the specified callee function. This takes more time to execute than