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:
parent
9cc09b8513
commit
0e3682a127
|
|
@ -647,7 +647,6 @@ void NetScope::evaluate_parameter_logic_(Design*des, param_ref_t cur)
|
|||
return;
|
||||
|
||||
NetEConst*val = dynamic_cast<NetEConst*>((*cur).second.val);
|
||||
ivl_assert(*expr, (*cur).second.val);
|
||||
ivl_assert(*expr, val);
|
||||
|
||||
verinum value = val->value();
|
||||
|
|
|
|||
Loading…
Reference in New Issue