Fixed uninitialized const flags bug

This commit is contained in:
Clifford Wolf 2013-12-07 16:56:34 +01:00
parent 5de57e9970
commit ccf083e5b0
1 changed files with 1 additions and 1 deletions

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;