Remove some comments emitted in output.

* Comments were disabling some optimizations.
* Suspect rarely referred to.
* Sometimes incorrectly placed due to other optimizations.
This commit is contained in:
Wilson Snyder
2020-12-15 22:55:17 -05:00
parent 084ba6711b
commit c00c26c705
3 changed files with 6 additions and 14 deletions
-1
View File
@@ -283,7 +283,6 @@ private:
m_namer.scopep()->addActivep(m_scopeFinalp);
}
nodep->unlinkFrBack();
m_scopeFinalp->addStmtsp(new AstComment(nodep->fileline(), nodep->typeName(), true));
m_scopeFinalp->addStmtsp(nodep->bodysp()->unlinkFrBackWithNext());
VL_DO_DANGLING(nodep->deleteTree(), nodep);
}