From 27f169c416df47dd27031ae997d1ef7b0dadbeb4 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. llvm-svn: 77793 --- llvm/include/llvm/Support/CallSite.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/include/llvm/Support/CallSite.h b/llvm/include/llvm/Support/CallSite.h index dc41590..0a21060 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(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; } -- 2.7.4