forked from github/verilator
Internals: Only need to applyFTask once. No functional change intended.
This commit is contained in:
parent
48597bebaf
commit
5d8019f941
@ -104,12 +104,13 @@ private:
|
|||||||
|
|
||||||
// VISITs
|
// VISITs
|
||||||
virtual void visit(AstNodeFTask* nodep) override {
|
virtual void visit(AstNodeFTask* nodep) override {
|
||||||
V3Config::applyFTask(m_modp, nodep);
|
|
||||||
|
|
||||||
if (!nodep->user1SetOnce()) { // Process only once.
|
if (!nodep->user1SetOnce()) { // Process only once.
|
||||||
|
V3Config::applyFTask(m_modp, nodep);
|
||||||
cleanFileline(nodep);
|
cleanFileline(nodep);
|
||||||
m_ftaskp = nodep;
|
{
|
||||||
iterateChildren(nodep);
|
m_ftaskp = nodep;
|
||||||
|
iterateChildren(nodep);
|
||||||
|
}
|
||||||
m_ftaskp = nullptr;
|
m_ftaskp = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user