mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Simplify AstScopeName (#6280)
Reduce reliance on AstText where not necessary.
This commit is contained in:
+2
-2
@@ -1303,8 +1303,8 @@ class TaskVisitor final : public VNVisitor {
|
||||
if (nodep->dpiExport()) {
|
||||
AstScopeName* const snp = nodep->scopeNamep();
|
||||
UASSERT_OBJ(snp, nodep, "Missing scoping context");
|
||||
snp->dpiExport(
|
||||
true); // The AstScopeName is really a statement(ish) for tracking, not a function
|
||||
// The AstScopeName is really a statement(ish) for tracking, not a function
|
||||
snp->dpiExport(true);
|
||||
snp->unlinkFrBack();
|
||||
cfuncp->addInitsp(snp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user