diff options
| author | Dan Gohman <gohman@apple.com> | 2009-08-01 19:11:31 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-08-01 19:11:31 +0000 |
| commit | a6ed247aeea58cc79d9b8c2b5b505acb669445fb (patch) | |
| tree | 26bc22783f1b464e733c6a1ae49b5b2ae37ce781 | |
| parent | 2d4a6ec85c1d02aaa0375dc757521c5de92ec600 (diff) | |
| download | external_llvm-a6ed247aeea58cc79d9b8c2b5b505acb669445fb.zip external_llvm-a6ed247aeea58cc79d9b8c2b5b505acb669445fb.tar.gz external_llvm-a6ed247aeea58cc79d9b8c2b5b505acb669445fb.tar.bz2 | |
Use the default copy ctor and copy-assignment operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77793 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | include/llvm/Support/CallSite.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index dc41590..0a21060 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -40,8 +40,6 @@ public: CallSite(CallInst *CI) : I(reinterpret_cast<Instruction*>(CI), true) {} CallSite(InvokeInst *II) : I(reinterpret_cast<Instruction*>(II), false) {} CallSite(Instruction *C); - CallSite(const CallSite &CS) : I(CS.I) {} - CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; } bool operator==(const CallSite &CS) const { return I == CS.I; } bool operator!=(const CallSite &CS) const { return I != CS.I; } |
