mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Rename AstAssignAlias to AstAlias and make it derive from AstNode instead of AstNodeStmt. Replace AstAlias with AstAssignW in V3LinkDot::linkDotScope, which is the last place we need to be aware of the alias construct. Using AstAssignW dowstream enables further optimization while preserving the same functionality.
This commit is contained in:
@@ -98,7 +98,7 @@ class LinkLValueVisitor final : public VNVisitor {
|
||||
VL_RESTORER(m_setStrengthSpecified);
|
||||
{
|
||||
m_setRefLvalue = VAccess::WRITE;
|
||||
m_setContinuously = VN_IS(nodep, AssignW) || VN_IS(nodep, AssignAlias);
|
||||
m_setContinuously = VN_IS(nodep, AssignW);
|
||||
if (const AstAssignW* const assignwp = VN_CAST(nodep, AssignW)) {
|
||||
if (assignwp->strengthSpecp()) m_setStrengthSpecified = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user