mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Cleanup more VL_RESTORER. No functional change intended.
This commit is contained in:
+4
-2
@@ -57,11 +57,13 @@ private:
|
||||
AstUser4Allocator<AstCFunc, std::unordered_multimap<const AstVarScope*, AstVarRef*>>
|
||||
m_references;
|
||||
|
||||
// STATE
|
||||
VDouble0 m_statLocVars; // Statistic tracking
|
||||
// STATE - for current visit position (use VL_RESTORER)
|
||||
AstCFunc* m_cfuncp = nullptr; // Current active function
|
||||
uint32_t m_nodeDepth = 0; // Node depth under m_cfuncp
|
||||
|
||||
// STATE - across all visitors
|
||||
std::vector<AstVarScope*> m_varScopeps; // List of variables to consider for localization
|
||||
VDouble0 m_statLocVars; // Statistic tracking
|
||||
|
||||
// METHODS
|
||||
bool isOptimizable(AstVarScope* nodep) {
|
||||
|
||||
Reference in New Issue
Block a user