mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Use and enforce class final for ~5% performance boost.
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
||||
//######################################################################
|
||||
// Width state, as a visitor of each AstNode
|
||||
|
||||
class WidthSelVisitor : public AstNVisitor {
|
||||
class WidthSelVisitor final : public AstNVisitor {
|
||||
private:
|
||||
// IMPORTANT
|
||||
//**** This is not a normal visitor, in that all iteration is instead
|
||||
|
||||
Reference in New Issue
Block a user