Remove eval_expr during PEBinary elaboration

Turns out that call to eval_expr is redundant, and in degenerate
situations can lead to so many wasteful calls to eval_expr that
elaboration performance suffers dramatically.
This commit is contained in:
Stephen Williams 2013-08-09 20:55:18 -07:00
parent 6684b2db04
commit d8f4ff4b57
1 changed files with 0 additions and 5 deletions

View File

@ -285,11 +285,6 @@ NetExpr* PEBinary::elaborate_expr(Design*des, NetScope*scope,
return 0;
}
// If either expression can be evaluated ahead of time, then
// do so. This can prove helpful later.
eval_expr(lp, l_width);
eval_expr(rp, r_width);
return elaborate_expr_base_(des, lp, rp, expr_wid);
}