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
@@ -26,7 +26,7 @@
|
||||
//######################################################################
|
||||
// Assert class functions
|
||||
|
||||
class AssertPreVisitor : public AstNVisitor {
|
||||
class AssertPreVisitor final : public AstNVisitor {
|
||||
// Removes clocks and other pre-optimizations
|
||||
// Eventually inlines calls to sequences, properties, etc.
|
||||
// We're not parsing the tree, or anything more complicated.
|
||||
|
||||
Reference in New Issue
Block a user