Misc harmless cleanups from thread branch.
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
parent
c164024f38
commit
3e0401de1c
|
|
@ -859,7 +859,7 @@ class EmitCImp : EmitCStmts {
|
||||||
|
|
||||||
//---------------------------------------
|
//---------------------------------------
|
||||||
// VISITORS
|
// VISITORS
|
||||||
using EmitCStmts::visit; // Suppress hidden overloaded virtual function warnng
|
using EmitCStmts::visit; // Suppress hidden overloaded virtual function warning
|
||||||
virtual void visit(AstCFunc* nodep) {
|
virtual void visit(AstCFunc* nodep) {
|
||||||
// TRACE_* and DPI handled elsewhere
|
// TRACE_* and DPI handled elsewhere
|
||||||
if (nodep->funcType().isTrace()) return;
|
if (nodep->funcType().isTrace()) return;
|
||||||
|
|
|
||||||
|
|
@ -476,6 +476,7 @@ void process () {
|
||||||
V3Const::constifyCpp(v3Global.rootp());
|
V3Const::constifyCpp(v3Global.rootp());
|
||||||
V3Subst::substituteAll(v3Global.rootp());
|
V3Subst::substituteAll(v3Global.rootp());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!v3Global.opt.xmlOnly()
|
if (!v3Global.opt.xmlOnly()
|
||||||
&& v3Global.opt.oSubstConst()) {
|
&& v3Global.opt.oSubstConst()) {
|
||||||
// Constant folding of substitutions
|
// Constant folding of substitutions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue