Add new operator= impl

llvm-svn: 7047
This commit is contained in:
Chris Lattner 2003-07-01 21:11:59 +00:00
parent 8309574e8d
commit 931978ab2b
1 changed files with 9 additions and 0 deletions

View File

@ -194,6 +194,15 @@ public:
InitNH(CallArgs[i], FromCall.CallArgs[i], NodeMap); InitNH(CallArgs[i], FromCall.CallArgs[i], NodeMap);
} }
const DSCallSite &operator=(const DSCallSite &RHS) {
Inst = RHS.Inst;
CalleeF = RHS.CalleeF;
CalleeN = RHS.CalleeN;
RetVal = RHS.RetVal;
CallArgs = RHS.CallArgs;
return *this;
}
/// isDirectCall - Return true if this call site is a direct call of the /// isDirectCall - Return true if this call site is a direct call of the
/// function specified by getCalleeFunc. If not, it is an indirect call to /// function specified by getCalleeFunc. If not, it is an indirect call to
/// the node specified by getCalleeNode. /// the node specified by getCalleeNode.