mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Support super.new calls (#3789)
This commit is contained in:
+2
-2
@@ -1181,8 +1181,8 @@ private:
|
||||
cfuncp->isConstructor(true);
|
||||
AstClass* const classp = m_statep->getClassp(nodep);
|
||||
if (classp->extendsp()) {
|
||||
cfuncp->ctorInits(EmitCBaseVisitor::prefixNameProtect(classp->extendsp()->classp())
|
||||
+ "(vlSymsp)");
|
||||
cfuncp->baseCtors(
|
||||
EmitCBaseVisitor::prefixNameProtect(classp->extendsp()->classp()));
|
||||
}
|
||||
}
|
||||
if (cfuncp->dpiExportImpl()) cfuncp->cname(nodep->cname());
|
||||
|
||||
Reference in New Issue
Block a user