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
97b5ac91cb
commit
7ba381a0d0
|
|
@ -613,7 +613,6 @@ void NetScope::evaluate_parameter_logic_(Design*des, param_ref_t cur)
|
||||||
}
|
}
|
||||||
|
|
||||||
NetEConst*val = dynamic_cast<NetEConst*>((*cur).second.val);
|
NetEConst*val = dynamic_cast<NetEConst*>((*cur).second.val);
|
||||||
ivl_assert(*(*cur).second.val, (*cur).second.val);
|
|
||||||
ivl_assert(*(*cur).second.val, val);
|
ivl_assert(*(*cur).second.val, val);
|
||||||
|
|
||||||
verinum value = val->value();
|
verinum value = val->value();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue