Remove buggy assertion.

If this assert fires, the "this" pointer we pass to it will be a
null pointer, so will cause a null pointer dereference. We've
tested it is not null earlier, so we don't need the assertion.
This commit is contained in:
Martin Whitaker 2021-11-04 19:35:22 +00:00
parent 97b5ac91cb
commit 7ba381a0d0
1 changed files with 0 additions and 1 deletions

View File

@ -613,7 +613,6 @@ void NetScope::evaluate_parameter_logic_(Design*des, param_ref_t cur)
}
NetEConst*val = dynamic_cast<NetEConst*>((*cur).second.val);
ivl_assert(*(*cur).second.val, (*cur).second.val);
ivl_assert(*(*cur).second.val, val);
verinum value = val->value();