Internals: Use and enforce class final for ~5% performance boost.

This commit is contained in:
Wilson Snyder
2020-11-18 21:32:16 -05:00
parent c0888c1b0f
commit b6ded59c2b
224 changed files with 976 additions and 949 deletions
+2 -2
View File
@@ -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