Preserve empty $pmux default cases

This commit is contained in:
Clifford Wolf 2016-03-31 09:57:23 +02:00
parent e2f6d61c00
commit e5dd5c0bcc
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ void proc_rmdead(RTLIL::SwitchRule *sw, int &counter)
counter++; counter++;
continue; continue;
} }
if (pool.empty()) // if (pool.empty())
sw->cases[i]->compare.clear(); // sw->cases[i]->compare.clear();
} }
for (auto switch_it : sw->cases[i]->switches) for (auto switch_it : sw->cases[i]->switches)