Internals: Use width when widthMin is the same. No functional change intended

This commit is contained in:
Wilson Snyder
2011-12-22 21:10:28 -05:00
parent b32f925468
commit 5e81543448
8 changed files with 24 additions and 16 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ private:
= new AstVar (fl, AstVarType::MODULETEMP,
"__Vtable" + cvtToStr(m_modTables) +"_"+outvarp->name(),
new AstArrayDType (fl,
new AstBasicDType(fl, AstLogicPacked(), outvarp->widthMin()),
new AstBasicDType(fl, AstLogicPacked(), outvarp->width()),
new AstRange (fl, VL_MASK_I(m_inWidth), 0)));
tablevarp->isConst(true);
tablevarp->isStatic(true);