Remove a redundant copy constructor.
authorDan Gohman <gohman@apple.com>
Fri, 30 Oct 2009 00:14:33 +0000 (00:14 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 30 Oct 2009 00:14:33 +0000 (00:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85547 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCInst.h

index 7eab37c35b21b295a091177147b547b74dc75ff0..29b38dd15d119b224e957c30c7511aca7ea9ad5d 100644 (file)
@@ -43,7 +43,6 @@ class MCOperand {
 public:
   
   MCOperand() : Kind(kInvalid) {}
-  MCOperand(const MCOperand &RHS) { *this = RHS; }
 
   bool isValid() const { return Kind != kInvalid; }
   bool isReg() const { return Kind == kRegister; }