diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-07-01 21:11:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-07-01 21:11:59 +0000 |
| commit | b512b24442edc886e554fde2a2e0ad13cd53f0c0 (patch) | |
| tree | fde2869131f92e46d4a2b927df4fcca41fc37080 /include/llvm/Analysis/DataStructure | |
| parent | 5fd60913da4e348b8d75ae3e7fced4a26ae4bb2f (diff) | |
| download | external_llvm-b512b24442edc886e554fde2a2e0ad13cd53f0c0.zip external_llvm-b512b24442edc886e554fde2a2e0ad13cd53f0c0.tar.gz external_llvm-b512b24442edc886e554fde2a2e0ad13cd53f0c0.tar.bz2 | |
Add new operator= impl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure')
| -rw-r--r-- | include/llvm/Analysis/DataStructure/DSSupport.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h index 3f680af..7ba9b0c 100644 --- a/include/llvm/Analysis/DataStructure/DSSupport.h +++ b/include/llvm/Analysis/DataStructure/DSSupport.h @@ -194,6 +194,15 @@ public: 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 /// function specified by getCalleeFunc. If not, it is an indirect call to /// the node specified by getCalleeNode. |
