Reassociate: Remove unnecessary default operator=.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-07-06 15:10:13 +00:00
parent f4eeab452a
commit 34ae5725c0

View File

@ -122,7 +122,6 @@ namespace {
class XorOpnd {
public:
XorOpnd(Value *V);
const XorOpnd &operator=(const XorOpnd &That);
bool isInvalid() const { return SymbolicPart == 0; }
bool isOrExpr() const { return isOr; }
@ -225,15 +224,6 @@ XorOpnd::XorOpnd(Value *V) {
isOr = true;
}
const XorOpnd &XorOpnd::operator=(const XorOpnd &That) {
OrigVal = That.OrigVal;
SymbolicPart = That.SymbolicPart;
ConstPart = That.ConstPart;
SymbolicRank = That.SymbolicRank;
isOr = That.isOr;
return *this;
}
char Reassociate::ID = 0;
INITIALIZE_PASS(Reassociate, "reassociate",
"Reassociate expressions", false, false)