Fix unstable statistic

This commit is contained in:
Wilson Snyder 2020-11-24 23:35:44 -05:00
parent bf24fa9478
commit 8622c754b7

View File

@ -960,7 +960,7 @@ class SplitPackedVarVisitor final : public AstNVisitor, public SplitVarImpl {
typedef std::map<AstVar*, PackedVarRef, AstNodeComparator> PackedVarRefMap;
AstNetlist* m_netp;
AstNodeModule* m_modp = nullptr; // Current module (just for log)
int m_numSplit; // Total number of split variables
int m_numSplit = 0; // Total number of split variables
// key:variable to be split. value:location where the variable is referenced.
PackedVarRefMap m_refs;
virtual void visit(AstNodeFTask* nodep) override {