OSDN Git Service

Use the default copy ctor and copy-assignment operators.
authorDan Gohman <gohman@apple.com>
Sat, 1 Aug 2009 19:11:31 +0000 (19:11 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 1 Aug 2009 19:11:31 +0000 (19:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77793 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/CallSite.h

index dc41590..0a21060 100644 (file)
@@ -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; }