mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Side effects propagator.
This commit is contained in:
@@ -73,6 +73,16 @@ struct SideEffects
|
||||
*this = *this + _other;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator==(SideEffects const& _other) const
|
||||
{
|
||||
return
|
||||
movable == _other.movable &&
|
||||
sideEffectFree == _other.sideEffectFree &&
|
||||
sideEffectFreeIfNoMSize == _other.sideEffectFreeIfNoMSize &&
|
||||
invalidatesStorage == _other.invalidatesStorage &&
|
||||
invalidatesMemory == _other.invalidatesMemory;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user