Add extra debug output.

(cherry picked from commit fbd87b4fee)
This commit is contained in:
Martin Whitaker 2020-12-13 21:49:42 +00:00
parent 1fda3ff23e
commit 04b0a1f80d
1 changed files with 6 additions and 1 deletions

View File

@ -3905,9 +3905,14 @@ NetProc* PCallTask::elaborate_build_call_(Design*des, NetScope*scope,
task, all the assignments, etc. Just return a no-op. */ task, all the assignments, etc. Just return a no-op. */
if (const NetBlock*tp = dynamic_cast<const NetBlock*>(def->proc())) { if (const NetBlock*tp = dynamic_cast<const NetBlock*>(def->proc())) {
if (tp->proc_first() == 0) if (tp->proc_first() == 0) {
if (debug_elaborate) {
cerr << get_fileline() << ": PCallTask::elaborate_build_call_: "
<< "Eliding call to empty task " << task->basename() << endl;
}
return block; return block;
} }
}
/* If this is an automatic task, generate a statement to /* If this is an automatic task, generate a statement to
allocate the local storage. */ allocate the local storage. */