Internals: Fix extra spaces in emit. No functional change.

This commit is contained in:
Wilson Snyder 2025-10-07 19:22:16 -04:00
parent bfe39ce5bc
commit 9d6f127a4e
1 changed files with 2 additions and 2 deletions

View File

@ -825,11 +825,11 @@ void EmitCSyms::emitSymImp() {
puts("{\n");
{
puts(" // Check resources\n");
puts("// Check resources\n");
uint64_t stackSize = V3StackCount::count(v3Global.rootp());
if (v3Global.opt.debugStackCheck()) stackSize += 1024 * 1024 * 1024;
V3Stats::addStat("Size prediction, Stack (bytes)", stackSize);
puts(" Verilated::stackCheck(" + cvtToStr(stackSize) + ");\n");
puts("Verilated::stackCheck(" + cvtToStr(stackSize) + ");\n");
V3Stats::addStat("Size prediction, Heap, from Var Scopes (bytes)", m_statVarScopeBytes);
V3Stats::addStat(V3Stats::STAT_MODEL_SIZE, stackSize + m_statVarScopeBytes);
}