mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix COVERAGEIGN-ignored get_inst_coverage and other covergroup methods (#6383).
This commit is contained in:
+1
-1
@@ -1870,7 +1870,7 @@ AstNodeFTask* V3Task::taskConnectWrapNew(AstNodeFTask* taskp, const string& newn
|
||||
AstNode* newCallInsertp = nullptr;
|
||||
if (VN_IS(taskp, Func)) {
|
||||
AstVar* const fvarp = VN_AS(taskp->fvarp(), Var);
|
||||
UASSERT(fvarp, "FuncRef without fvar");
|
||||
UASSERT_OBJ(fvarp, taskp, "FuncRef without fvar");
|
||||
AstVar* const newFVarp = fvarp->cloneTree(true);
|
||||
oldNewVars.emplace(fvarp, newFVarp);
|
||||
newFVarp->name(newTaskp->name());
|
||||
|
||||
Reference in New Issue
Block a user