summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-01 19:11:31 +0000
committerDan Gohman <gohman@apple.com>2009-08-01 19:11:31 +0000
commit27f169c416df47dd27031ae997d1ef7b0dadbeb4 (patch)
treee1846a9ef9cdd05d52bcd65e8e7cab1a33a2288d
parent9023fd2b2aae1a0ea8a2cd9c67848be0145355f5 (diff)
downloadbcm5719-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.h2
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; }
OpenPOWER on IntegriCloud