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 | 27f169c416df47dd27031ae997d1ef7b0dadbeb4 (patch) | |
tree | e1846a9ef9cdd05d52bcd65e8e7cab1a33a2288d | |
parent | 9023fd2b2aae1a0ea8a2cd9c67848be0145355f5 (diff) | |
download | bcm5719-llvm-27f169c416df47dd27031ae997d1ef7b0dadbeb4.tar.gz bcm5719-llvm-27f169c416df47dd27031ae997d1ef7b0dadbeb4.zip |
Use the default copy ctor and copy-assignment operators.
llvm-svn: 77793
-rw-r--r-- | llvm/include/llvm/Support/CallSite.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/CallSite.h b/llvm/include/llvm/Support/CallSite.h index dc41590fb8a..0a21060f2d1 100644 --- a/llvm/include/llvm/Support/CallSite.h +++ b/llvm/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; } |