Commentary

This commit is contained in:
Wilson Snyder 2018-04-30 20:34:52 -04:00
parent 29f1a9208e
commit c8ba51581f

View File

@ -2558,19 +2558,19 @@ void V3EmitC::emitc() {
UINFO(2,__FUNCTION__<<": "<<endl); UINFO(2,__FUNCTION__<<": "<<endl);
// Process each module in turn // Process each module in turn
for (AstNodeModule* nodep = v3Global.rootp()->modulesp(); nodep; nodep=nodep->nextp()->castNodeModule()) { for (AstNodeModule* nodep = v3Global.rootp()->modulesp(); nodep; nodep=nodep->nextp()->castNodeModule()) {
if (v3Global.opt.outputSplit()) { if (v3Global.opt.outputSplit()) {
{ EmitCImp imp; imp.main(nodep, false, true); } { EmitCImp fast; fast.main(nodep, false, true); }
{ EmitCImp imp; imp.main(nodep, true, false); } { EmitCImp slow; slow.main(nodep, true, false); }
} else { } else {
{ EmitCImp imp; imp.main(nodep, true, true); } { EmitCImp both; both.main(nodep, true, true); }
} }
} }
} }
void V3EmitC::emitcTrace() { void V3EmitC::emitcTrace() {
UINFO(2,__FUNCTION__<<": "<<endl); UINFO(2,__FUNCTION__<<": "<<endl);
if (v3Global.opt.trace()) { if (v3Global.opt.trace()) {
{ EmitCTrace imp (true); imp.main(); } { EmitCTrace slow(true); slow.main(); }
{ EmitCTrace imp (false); imp.main(); } { EmitCTrace fast(false); fast.main(); }
} }
} }