GraphDelayCalc::findDelays no need to visit if iter empty
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
4920f673a8
commit
5b56558e7a
|
|
@ -260,8 +260,10 @@ GraphDelayCalc::findDelays(Level level)
|
|||
if (incremental_)
|
||||
seedInvalidDelays();
|
||||
|
||||
FindVertexDelays visitor(this);
|
||||
dcalc_count += iter_->visitParallel(level, &visitor);
|
||||
if (!iter_->empty()) {
|
||||
FindVertexDelays visitor(this);
|
||||
dcalc_count += iter_->visitParallel(level, &visitor);
|
||||
}
|
||||
|
||||
// Timing checks require slews at both ends of the arc,
|
||||
// so find their delays after all slews are known.
|
||||
|
|
|
|||
Loading…
Reference in New Issue