From: Chris Lattner Date: Tue, 22 Oct 2002 15:57:58 +0000 (+0000) Subject: Allow modification of callee X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0e6949fe1c33eb332d416f19410ddecb5c84af58;p=oota-llvm.git Allow modification of callee git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4257 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index 6fa4d6eecac..cccf31f8f3b 100644 --- a/include/llvm/Analysis/DSGraph.h +++ b/include/llvm/Analysis/DSGraph.h @@ -436,6 +436,8 @@ public: DSNodeHandle &getCallee() { return Callee; } const DSNodeHandle &getRetVal() const { return RetVal; } const DSNodeHandle &getCallee() const { return Callee; } + void setCallee(const DSNodeHandle &H) { Callee = H; } + unsigned getNumPtrArgs() const { return CallArgs.size(); } Function *getResolvingCaller() const { return ResolvingCaller; } diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index 6fa4d6eecac..cccf31f8f3b 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -436,6 +436,8 @@ public: DSNodeHandle &getCallee() { return Callee; } const DSNodeHandle &getRetVal() const { return RetVal; } const DSNodeHandle &getCallee() const { return Callee; } + void setCallee(const DSNodeHandle &H) { Callee = H; } + unsigned getNumPtrArgs() const { return CallArgs.size(); } Function *getResolvingCaller() const { return ResolvingCaller; }