Allow modification of callee
authorChris Lattner <sabre@nondot.org>
Tue, 22 Oct 2002 15:57:58 +0000 (15:57 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Oct 2002 15:57:58 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4257 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraph.h

index 6fa4d6eecac3cb2d22fe1346f51e6cf17ea6b775..cccf31f8f3b2f47d0e14c01e2023201e276ea258 100644 (file)
@@ -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; }
index 6fa4d6eecac3cb2d22fe1346f51e6cf17ea6b775..cccf31f8f3b2f47d0e14c01e2023201e276ea258 100644 (file)
@@ -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; }