add a method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-21 09:38:39 +00:00
parent 9e3c5a2bde
commit 2c012590d7

View 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);