[llvm-commits] [llvm] r85547 - /llvm/trunk/include/llvm/MC/MCInst.h

Dan Gohman gohman at apple.com
Thu Oct 29 17:14:33 PDT 2009


Author: djg
Date: Thu Oct 29 19:14:33 2009
New Revision: 85547

URL: http://llvm.org/viewvc/llvm-project?rev=85547&view=rev
Log:
Remove a redundant copy constructor.

Modified:
    llvm/trunk/include/llvm/MC/MCInst.h

Modified: llvm/trunk/include/llvm/MC/MCInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCInst.h?rev=85547&r1=85546&r2=85547&view=diff

==============================================================================
--- llvm/trunk/include/llvm/MC/MCInst.h (original)
+++ llvm/trunk/include/llvm/MC/MCInst.h Thu Oct 29 19:14:33 2009
@@ -43,7 +43,6 @@
 public:
   
   MCOperand() : Kind(kInvalid) {}
-  MCOperand(const MCOperand &RHS) { *this = RHS; }
 
   bool isValid() const { return Kind != kInvalid; }
   bool isReg() const { return Kind == kRegister; }





More information about the llvm-commits mailing list