mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Internals: Use runtime type info instead of dynamic_cast for faster graph type checks (#4397)
This commit is contained in:
@@ -85,6 +85,7 @@ public:
|
||||
};
|
||||
|
||||
class TaskEdge final : public V3GraphEdge {
|
||||
VL_RTTI_IMPL(TaskEdge, V3GraphEdge)
|
||||
public:
|
||||
TaskEdge(V3Graph* graphp, TaskBaseVertex* fromp, TaskBaseVertex* top)
|
||||
: V3GraphEdge{graphp, fromp, top, 1, false} {}
|
||||
|
||||
Reference in New Issue
Block a user