mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
Add assertion about result of lpm_to_expr
This commit is contained in:
+2
-2
@@ -81,8 +81,8 @@ static vhdl_expr *nexus_to_expr(vhdl_scope *arch_scope, ivl_nexus_t nexus,
|
||||
else if ((allowed & NEXUS_TO_OTHER) &&
|
||||
(lpm = ivl_nexus_ptr_lpm(nexus_ptr))) {
|
||||
vhdl_expr *e = lpm_to_expr(arch_scope, lpm);
|
||||
if (e)
|
||||
return e;
|
||||
assert(e);
|
||||
return e;
|
||||
}
|
||||
else if ((allowed & NEXUS_TO_CONST) &&
|
||||
(con = ivl_nexus_ptr_con(nexus_ptr))) {
|
||||
|
||||
Reference in New Issue
Block a user