Support class new.

This commit is contained in:
Wilson Snyder
2020-04-12 18:57:12 -04:00
parent d4b6e2b2b5
commit dba88bae3c
17 changed files with 132 additions and 71 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class EmitCInlines : EmitCBaseVisitor {
v3Global.needHeavy(true);
iterateChildren(nodep);
}
virtual void visit(AstNew* nodep) VL_OVERRIDE {
virtual void visit(AstCNew* nodep) VL_OVERRIDE {
if (v3Global.opt.savable()) v3error("Unsupported: --savable with dynamic new");
iterateChildren(nodep);
}