1
0
mirror of synced 2026-01-31 06:02:11 +00:00

Fixed uninitialized const flags bug

This commit is contained in:
Clifford Wolf
2013-12-07 16:56:34 +01:00
parent 5de57e9970
commit ccf083e5b0

View File

@@ -195,7 +195,7 @@ struct RTLIL::Const {
Const(std::string str);
Const(int val, int width = 32);
Const(RTLIL::State bit, int width = 1);
Const(std::vector<RTLIL::State> bits) : bits(bits) { };
Const(std::vector<RTLIL::State> bits) : bits(bits) { flags = CONST_FLAG_NONE; };
bool operator <(const RTLIL::Const &other) const;
bool operator ==(const RTLIL::Const &other) const;
bool operator !=(const RTLIL::Const &other) const;