mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Fix virtual methods (#4616)
This commit is contained in:
@@ -638,6 +638,12 @@ private:
|
||||
beginp->addNext(ccallp->makeStmt());
|
||||
}
|
||||
|
||||
if (const AstFuncRef* const funcRefp = VN_CAST(refp, FuncRef)) {
|
||||
ccallp->superReference(funcRefp->superReference());
|
||||
} else if (const AstTaskRef* const taskRefp = VN_CAST(refp, TaskRef)) {
|
||||
ccallp->superReference(taskRefp->superReference());
|
||||
}
|
||||
|
||||
// Convert complicated outputs to temp signals
|
||||
{
|
||||
const V3TaskConnects tconnects = V3Task::taskConnects(refp, refp->taskp()->stmtsp());
|
||||
|
||||
Reference in New Issue
Block a user