mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 08:24:31 +02:00
Internals: Use and enforce class final for ~5% performance boost.
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@
|
||||
//######################################################################
|
||||
// Unroll state, as a visitor of each AstNode
|
||||
|
||||
class UnrollVisitor : public AstNVisitor {
|
||||
class UnrollVisitor final : public AstNVisitor {
|
||||
private:
|
||||
// STATE
|
||||
AstVar* m_forVarp; // Iterator variable
|
||||
|
||||
Reference in New Issue
Block a user