Internals: Cleanup some V3LinkParse code. No functional change intended.
This commit is contained in:
parent
e0e0fb08a5
commit
ad6379b762
|
|
@ -618,7 +618,8 @@ class LinkParseVisitor final : public VNVisitor {
|
||||||
VL_RESTORER(m_lifetime);
|
VL_RESTORER(m_lifetime);
|
||||||
VL_RESTORER(m_lifetimeAllowed);
|
VL_RESTORER(m_lifetimeAllowed);
|
||||||
VL_RESTORER(m_moduleWithGenericIface);
|
VL_RESTORER(m_moduleWithGenericIface);
|
||||||
{
|
VL_RESTORER(m_valueModp);
|
||||||
|
|
||||||
// Module: Create sim table for entire module and iterate
|
// Module: Create sim table for entire module and iterate
|
||||||
cleanFileline(nodep);
|
cleanFileline(nodep);
|
||||||
// Classes inherit from upper package
|
// Classes inherit from upper package
|
||||||
|
|
@ -646,10 +647,8 @@ class LinkParseVisitor final : public VNVisitor {
|
||||||
modp->hasGenericIface(m_moduleWithGenericIface);
|
modp->hasGenericIface(m_moduleWithGenericIface);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_valueModp = nodep;
|
|
||||||
}
|
|
||||||
void visitIterateNoValueMod(AstNode* nodep) {
|
void visitIterateNoValueMod(AstNode* nodep) {
|
||||||
// Iterate a node which shouldn't have any local variables moved to an Initial
|
// Iterate a node which any Var within shouldn't create an Initial procedure
|
||||||
cleanFileline(nodep);
|
cleanFileline(nodep);
|
||||||
VL_RESTORER(m_valueModp);
|
VL_RESTORER(m_valueModp);
|
||||||
m_valueModp = nullptr;
|
m_valueModp = nullptr;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue