diff --git a/include/register.h b/include/register.h index 760fa3a..0b79264 100644 --- a/include/register.h +++ b/include/register.h @@ -19,10 +19,8 @@ struct Register { debug::DebugValue _M_assigned; void sync() { - if (this->_M_assigned) { - this->_M_assigned = false; - this->_M_old = this->_M_new; - } + this->_M_assigned = false; + this->_M_old = this->_M_new; } public: