diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-13 17:09:28 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-13 17:09:28 -0700 |
commit | 1b0e68db945ee8a62a445cf41668844812c436eb (patch) | |
tree | b7f57a726285b84788c0138c4dbea6d1b3d7bdad /kernel/rtlil.cc | |
parent | e35dfc5ab591968d86259b90a643f1545e79e661 (diff) | |
download | yosys-1b0e68db945ee8a62a445cf41668844812c436eb.tar.gz yosys-1b0e68db945ee8a62a445cf41668844812c436eb.tar.bz2 yosys-1b0e68db945ee8a62a445cf41668844812c436eb.zip |
Revert changes to RTLIL::SigSpec methods
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 909f60dd9..fade0bc36 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -3299,7 +3299,7 @@ void RTLIL::SigSpec::replace(int offset, const RTLIL::SigSpec &with) check(); } -RTLIL::SigSpec& RTLIL::SigSpec::remove_const() +void RTLIL::SigSpec::remove_const() { if (packed()) { @@ -3333,7 +3333,6 @@ RTLIL::SigSpec& RTLIL::SigSpec::remove_const() } check(); - return *this; } void RTLIL::SigSpec::remove(int offset, int length) @@ -3429,7 +3428,7 @@ void RTLIL::SigSpec::append_bit(const RTLIL::SigBit &bit) check(); } -RTLIL::SigSpec& RTLIL::SigSpec::extend_u0(int width, bool is_signed) +void RTLIL::SigSpec::extend_u0(int width, bool is_signed) { cover("kernel.rtlil.sigspec.extend_u0"); @@ -3446,7 +3445,6 @@ RTLIL::SigSpec& RTLIL::SigSpec::extend_u0(int width, bool is_signed) append(padding); } - return *this; } RTLIL::SigSpec RTLIL::SigSpec::repeat(int num) const |