mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Color densely in V3Graph::weaklyConnected, and return the count
No algorithm depends on this, so can be changed, later improvement will. No functional change.
This commit is contained in:
@@ -293,7 +293,6 @@ class ReorderVisitor final : public VNVisitor {
|
||||
for (AstNode* currp = nodep; currp; currp = currp->nextp()) {
|
||||
ReorderLogicVertex* const vtxp = currp->user3u().to<ReorderLogicVertex*>();
|
||||
const uint32_t color = vtxp->color();
|
||||
UASSERT_OBJ(color, currp, "No node color assigned");
|
||||
if (lastOfColor[color]) new ReorderStrictEdge{m_graphp, lastOfColor[color], vtxp};
|
||||
lastOfColor[color] = vtxp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user