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
This commit is contained in:
Evan Cheng
2008-05-30 17:16:20 +00:00
parent 33540adca5
commit babf11f249
13 changed files with 45 additions and 40 deletions

View File

@ -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