1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Reassociate: Remove unnecessary default operator=.

llvm-svn: 185757
This commit is contained in:
Benjamin Kramer 2013-07-06 15:10:13 +00:00
parent 5d9e616519
commit d9392561e7

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)