fixup! Set static when task has timing control
This commit is contained in:
parent
88a0b7df68
commit
24a50a39bf
|
|
@ -382,7 +382,7 @@ class LinkParseVisitor final : public VNVisitor {
|
|||
}
|
||||
}
|
||||
} else if (m_ftaskp) {
|
||||
if (m_ftaskp->existsAndNext([&](const AstNode* nodep) {return nodep->isTimingControl();})) {
|
||||
if (m_ftaskp->exists([&](const AstNode* nodep) {return nodep->isTimingControl();})) {
|
||||
nodep->lifetime(VLifetime::STATIC_IMPLICIT);
|
||||
} else {
|
||||
nodep->lifetime(VLifetime::AUTOMATIC_IMPLICIT);
|
||||
|
|
|
|||
Loading…
Reference in New Issue