Internals: Reorder code. No functional change.

This commit is contained in:
Wilson Snyder 2012-05-28 09:18:18 -04:00
parent c6e7d87960
commit 429437f1b9

View File

@ -487,6 +487,12 @@ private:
//
nodep->flatsp()->iterateAndNext(*this);
}
virtual void visit(AstNodeFTask* nodep, AstNUser*) {
if (!m_beginp) { // For now, we don't support xrefs into functions inside begin blocks
m_statep->insertSym(m_cellVxp, nodep->name(), nodep);
}
// No recursion, we don't want to pick up variables
}
virtual void visit(AstVar* nodep, AstNUser*) {
if (!m_statep->forScopeCreation()
&& !m_beginp // For now, we don't support xrefs into begin blocks
@ -496,12 +502,6 @@ private:
UINFO(9," Not allowing dot refs to: "<<nodep<<endl);
}
}
virtual void visit(AstNodeFTask* nodep, AstNUser*) {
if (!m_beginp) { // For now, we don't support xrefs into functions inside begin blocks
m_statep->insertSym(m_cellVxp, nodep->name(), nodep);
}
// No recursion, we don't want to pick up variables
}
virtual void visit(AstCFunc* nodep, AstNUser*) {
// Ignore all AstVars under functions
}