diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 17:16:20 +0000 |
commit | babf11f249c7c6399c66f2567d4e7efa9c37a9c3 (patch) | |
tree | 816778a63435b4ba76dc9c06038b28739fcf38f1 /include/llvm/Analysis/CallGraph.h | |
parent | 33540adca55b95a5fdbb0dc783ded319a90b4bc1 (diff) |
Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/CallGraph.h')
-rw-r--r-- | include/llvm/Analysis/CallGraph.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index 3fe03b5e74..b6fef7134f 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 |