Add parameters into trace files, bug706.

This commit is contained in:
Wilson Snyder
2014-03-08 15:36:04 -05:00
parent d37709a922
commit 45bbae80e7
7 changed files with 33 additions and 5 deletions
+3 -1
View File
@@ -223,7 +223,9 @@ private:
bool mightElim(AstVar* nodep) {
return (!nodep->isSigPublic() // Can't elim publics!
&& !nodep->isIO()
&& (nodep->isTemp() || nodep->isParam() || m_elimUserVars));
&& (nodep->isTemp()
|| (nodep->isParam() && !nodep->isTrace())
|| m_elimUserVars)); // Post-Trace can kill most anything
}
void deadCheckVar() {
// Delete any unused varscopes