Add missing deletes for patch "Add real compar..."

Add two deletes that I missed in the previous patch.
This commit is contained in:
Cary R 2008-01-15 18:34:25 -08:00 committed by Stephen Williams
parent 1ff31db2cc
commit eac6333d6c
1 changed files with 2 additions and 0 deletions

View File

@ -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_,