diff options
-rw-r--r-- | include/llvm/Analysis/DSGraph.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index 6fa4d6eeca..cccf31f8f3 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 6fa4d6eeca..cccf31f8f3 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; } |