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:
+2
-2
@@ -40,7 +40,7 @@
|
||||
//######################################################################
|
||||
// LifePost class functions
|
||||
|
||||
class LifePostElimVisitor : public AstNVisitor {
|
||||
class LifePostElimVisitor final : public AstNVisitor {
|
||||
private:
|
||||
bool m_tracingCall = false; // Iterating into a CCall to a CFunc
|
||||
|
||||
@@ -128,7 +128,7 @@ struct LifePostLocation {
|
||||
//######################################################################
|
||||
// LifePost delay elimination
|
||||
|
||||
class LifePostDlyVisitor : public AstNVisitor {
|
||||
class LifePostDlyVisitor final : public AstNVisitor {
|
||||
private:
|
||||
// NODE STATE
|
||||
// Cleared on entire tree
|
||||
|
||||
Reference in New Issue
Block a user