mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
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:
parent
f4eeab452a
commit
34ae5725c0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user