add a method
authorChris Lattner <sabre@nondot.org>
Mon, 21 Mar 2005 09:38:39 +0000 (09:38 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Mar 2005 09:38:39 +0000 (09:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20729 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSSupport.h

index 8eb67a03434418f28f941f8fb38ead5a58ae0c9c..e4eb21bc23d9578a713bea6acec7c23447c1c23f 100644 (file)
@@ -272,6 +272,10 @@ public:
     return CallArgs[i];
   }
 
+  void addPtrArg(const DSNodeHandle &NH) {
+    CallArgs.push_back(NH);
+  }
+
   void swap(DSCallSite &CS) {
     if (this != &CS) {
       std::swap(Site, CS.Site);