Remove explicit copy ctor in favor of the implicit one so that the use of the copy...
[oota-llvm.git] / include / llvm / CodeGen / MachineRegisterInfo.h
index abb04deb35ee826ea7d92aae38ddd213d9d765ae..855b255a5ec95ba38f6db864aa64bd26916be4a1 100644 (file)
@@ -829,7 +829,6 @@ public:
     typedef std::iterator<std::forward_iterator_tag,
                           MachineInstr, ptrdiff_t>::pointer pointer;
 
-    defusechain_iterator(const defusechain_iterator &I) : Op(I.Op) {}
     defusechain_iterator() : Op(nullptr) {}
 
     bool operator==(const defusechain_iterator &x) const {
@@ -932,7 +931,6 @@ public:
     typedef std::iterator<std::forward_iterator_tag,
                           MachineInstr, ptrdiff_t>::pointer pointer;
 
-    defusechain_instr_iterator(const defusechain_instr_iterator &I) : Op(I.Op){}
     defusechain_instr_iterator() : Op(nullptr) {}
 
     bool operator==(const defusechain_instr_iterator &x) const {