mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Internals: Misc cleanups in V3Graph and V3Dead. No functional change.
This commit is contained in:
@@ -294,6 +294,12 @@ void V3Graph::dumpEdge(std::ostream& os, const V3GraphVertex* vertexp,
|
||||
os << '\n';
|
||||
}
|
||||
}
|
||||
void V3Graph::dumpEdges(std::ostream& os, const V3GraphVertex* vertexp) const {
|
||||
for (const V3GraphEdge* edgep = vertexp->inBeginp(); edgep; edgep = edgep->inNextp())
|
||||
dumpEdge(os, vertexp, edgep);
|
||||
for (const V3GraphEdge* edgep = vertexp->outBeginp(); edgep; edgep = edgep->outNextp())
|
||||
dumpEdge(os, vertexp, edgep);
|
||||
}
|
||||
|
||||
void V3Graph::dumpDotFilePrefixed(const string& nameComment, bool colorAsSubgraph) const {
|
||||
dumpDotFile(v3Global.debugFilename(nameComment) + ".dot", colorAsSubgraph);
|
||||
|
||||
Reference in New Issue
Block a user