vhdlpp: Variables have always reg_flag set.
This commit is contained in:
parent
acb4ca8e47
commit
597001ee2f
|
|
@ -72,7 +72,6 @@ int Variable::emit(ostream&out, Entity*ent, ScopeBase*scope)
|
||||||
|
|
||||||
VType::decl_t decl;
|
VType::decl_t decl;
|
||||||
type_elaborate_(decl);
|
type_elaborate_(decl);
|
||||||
if (peek_refcnt_sequ_() > 0 || !peek_type()->can_be_packed())
|
|
||||||
decl.reg_flag = true;
|
decl.reg_flag = true;
|
||||||
errors += decl.emit(out, peek_name());
|
errors += decl.emit(out, peek_name());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue