mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +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:
@@ -257,9 +257,6 @@ class GateBuildVisitor final : public VNVisitorConst {
|
||||
const bool slow = VN_IS(nodep, Initial) || VN_IS(nodep, Final);
|
||||
iterateLogic(nodep, slow, nodep->isJustOneBodyStmt() ? nullptr : "Multiple Stmts");
|
||||
}
|
||||
void visit(AstAssignAlias* nodep) override { //
|
||||
iterateLogic(nodep);
|
||||
}
|
||||
void visit(AstAssignW* nodep) override { //
|
||||
iterateLogic(nodep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user