Add missing deletes for patch "Add real compar..."
Add two deletes that I missed in the previous patch.
This commit is contained in:
parent
1ff31db2cc
commit
eac6333d6c
|
|
@ -542,6 +542,7 @@ NetNet* PEBinary::elaborate_net_cmp_(Design*des, NetScope*scope,
|
|||
verireal vrl(tmp->value().as_double());
|
||||
NetECReal rlval(vrl);
|
||||
rsig = rlval.synthesize(des);
|
||||
delete rexp;
|
||||
} else {
|
||||
NetNet*osig = compare_eq_constant(des, scope,
|
||||
lsig, tmp, op_,
|
||||
|
|
@ -563,6 +564,7 @@ NetNet* PEBinary::elaborate_net_cmp_(Design*des, NetScope*scope,
|
|||
verireal vrl(tmp->value().as_double());
|
||||
NetECReal rlval(vrl);
|
||||
lsig = rlval.synthesize(des);
|
||||
delete lexp;
|
||||
} else {
|
||||
NetNet*osig = compare_eq_constant(des, scope,
|
||||
rsig, tmp, op_,
|
||||
|
|
|
|||
Loading…
Reference in New Issue