mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Remove some uses of AstConst taking V3Number. No functional change intended.
This commit is contained in:
+1
-1
@@ -511,7 +511,7 @@ private:
|
||||
}
|
||||
} else {
|
||||
AstNode* clrp = new AstAssign(fl, new AstVarRef(fl, m_activityVscp, true),
|
||||
new AstConst(fl, V3Number(fl, m_activityVscp->width())));
|
||||
new AstConst(fl, V3Number(fl, m_activityVscp->width(), 0)));
|
||||
m_fullFuncp->addFinalsp(clrp->cloneTree(true));
|
||||
m_chgFuncp->addFinalsp(clrp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user