Remove footprint comment when single threaded.

This commit is contained in:
Wilson Snyder 2019-11-11 22:21:37 -05:00
parent 6ce81698e7
commit 98dcbc6b3e

View File

@ -110,7 +110,9 @@ public:
string newVarCmt = varp->mtasksString();
if (*curVarCmtp != newVarCmt) {
*curVarCmtp = newVarCmt;
puts("// Begin mtask footprint "+*curVarCmtp+"\n");
if (v3Global.opt.threads()) {
puts("// Begin mtask footprint "+*curVarCmtp+"\n");
}
}
}
void emitTypedefs(AstNode* firstp) {