mirror of https://github.com/YosysHQ/yosys.git
Replaced RTLIL::SigSpec::operator!=() with inline version
This commit is contained in:
parent
5b51b67297
commit
85db102e13
|
@ -1929,13 +1929,6 @@ bool RTLIL::SigSpec::operator ==(const RTLIL::SigSpec &other) const
|
|||
return true;
|
||||
}
|
||||
|
||||
bool RTLIL::SigSpec::operator !=(const RTLIL::SigSpec &other) const
|
||||
{
|
||||
if (*this == other)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RTLIL::SigSpec::is_fully_const() const
|
||||
{
|
||||
pack();
|
||||
|
|
|
@ -575,7 +575,7 @@ public:
|
|||
|
||||
bool operator <(const RTLIL::SigSpec &other) const;
|
||||
bool operator ==(const RTLIL::SigSpec &other) const;
|
||||
bool operator !=(const RTLIL::SigSpec &other) const;
|
||||
inline bool operator !=(const RTLIL::SigSpec &other) const { return !(*this == other); }
|
||||
|
||||
bool is_fully_const() const;
|
||||
bool is_fully_def() const;
|
||||
|
|
Loading…
Reference in New Issue