mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Use and enforce class final for ~5% performance boost.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@
|
||||
//######################################################################
|
||||
// Name state, as a visitor of each AstNode
|
||||
|
||||
class NameVisitor : public AstNVisitor {
|
||||
class NameVisitor final : public AstNVisitor {
|
||||
private:
|
||||
// NODE STATE
|
||||
// Cleared on Netlist
|
||||
|
||||
Reference in New Issue
Block a user