Internals: Rename widthToFit, no functional change.

This commit is contained in:
Wilson Snyder
2025-04-28 21:54:58 -04:00
parent 5083972536
commit 3658e5f0f1
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -495,7 +495,7 @@ void EmitCFunc::emitConstant(AstConst* nodep, AstVarRef* assigntop, const string
} else if (nodep->num().isString()) {
emitConstantString(nodep);
} else if (nodep->isWide()) {
int upWidth = nodep->num().widthMin();
int upWidth = nodep->num().widthToFit();
int chunks = 0;
if (upWidth > EMITC_NUM_CONSTW * VL_EDATASIZE) {
// Output e.g. 8 words in groups of e.g. 8