diff --git a/src/V3EmitC.cpp b/src/V3EmitC.cpp index a048ea89e..490b805cd 100644 --- a/src/V3EmitC.cpp +++ b/src/V3EmitC.cpp @@ -2558,19 +2558,19 @@ void V3EmitC::emitc() { UINFO(2,__FUNCTION__<<": "<modulesp(); nodep; nodep=nodep->nextp()->castNodeModule()) { - if (v3Global.opt.outputSplit()) { - { EmitCImp imp; imp.main(nodep, false, true); } - { EmitCImp imp; imp.main(nodep, true, false); } - } else { - { EmitCImp imp; imp.main(nodep, true, true); } - } + if (v3Global.opt.outputSplit()) { + { EmitCImp fast; fast.main(nodep, false, true); } + { EmitCImp slow; slow.main(nodep, true, false); } + } else { + { EmitCImp both; both.main(nodep, true, true); } + } } } void V3EmitC::emitcTrace() { UINFO(2,__FUNCTION__<<": "<