vhdlpp: Variables have always reg_flag set.

This commit is contained in:
Maciej Suminski 2015-12-04 17:42:54 +01:00
parent acb4ca8e47
commit 597001ee2f
1 changed files with 1 additions and 2 deletions

View File

@ -72,7 +72,6 @@ int Variable::emit(ostream&out, Entity*ent, ScopeBase*scope)
VType::decl_t decl;
type_elaborate_(decl);
if (peek_refcnt_sequ_() > 0 || !peek_type()->can_be_packed())
decl.reg_flag = true;
errors += decl.emit(out, peek_name());