From 7aeff084a4c452ad9cbe510d7b999782b12378e3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 1 Aug 2009 19:11:31 +0000 Subject: [PATCH] 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 --- include/llvm/Support/CallSite.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index dc41590fb8a..0a21060f2d1 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -40,8 +40,6 @@ public: CallSite(CallInst *CI) : I(reinterpret_cast(CI), true) {} CallSite(InvokeInst *II) : I(reinterpret_cast(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; }