[llvm-commits] [llvm] r77793 - /llvm/trunk/include/llvm/Support/CallSite.h

Dan Gohman gohman at apple.com
Sat Aug 1 12:11:32 PDT 2009


Author: djg
Date: Sat Aug  1 14:11:31 2009
New Revision: 77793

URL: http://llvm.org/viewvc/llvm-project?rev=77793&view=rev
Log:
Use the default copy ctor and copy-assignment operators.

Modified:
    llvm/trunk/include/llvm/Support/CallSite.h

Modified: llvm/trunk/include/llvm/Support/CallSite.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CallSite.h?rev=77793&r1=77792&r2=77793&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/CallSite.h (original)
+++ llvm/trunk/include/llvm/Support/CallSite.h Sat Aug  1 14:11:31 2009
@@ -40,8 +40,6 @@
   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; }





More information about the llvm-commits mailing list