Remove footprint comment when single threaded.
This commit is contained in:
parent
6ce81698e7
commit
98dcbc6b3e
|
|
@ -110,9 +110,11 @@ public:
|
||||||
string newVarCmt = varp->mtasksString();
|
string newVarCmt = varp->mtasksString();
|
||||||
if (*curVarCmtp != newVarCmt) {
|
if (*curVarCmtp != newVarCmt) {
|
||||||
*curVarCmtp = newVarCmt;
|
*curVarCmtp = newVarCmt;
|
||||||
|
if (v3Global.opt.threads()) {
|
||||||
puts("// Begin mtask footprint "+*curVarCmtp+"\n");
|
puts("// Begin mtask footprint "+*curVarCmtp+"\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
void emitTypedefs(AstNode* firstp) {
|
void emitTypedefs(AstNode* firstp) {
|
||||||
bool first = true;
|
bool first = true;
|
||||||
for (AstNode* loopp=firstp; loopp; loopp = loopp->nextp()) {
|
for (AstNode* loopp=firstp; loopp; loopp = loopp->nextp()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue