exception -thru seg fault

This commit is contained in:
James Cherry 2020-06-03 18:37:05 -07:00
parent 0fed55b362
commit 810e4716cd
1 changed files with 2 additions and 2 deletions

View File

@ -1931,8 +1931,8 @@ ExceptionThru::matches(const Pin *from_pin,
EdgePins edge_pins(const_cast<Pin*>(from_pin), const_cast<Pin*>(to_pin));
return ((pins_ && pins_->hasKey(const_cast<Pin*>(to_pin)))
|| (edges_ && edges_->hasKey(&edge_pins))
|| (nets_ && nets_->hasKey(network->net(to_pin)))
|| (insts_ && insts_->hasKey(network->instance(to_pin))))
|| (nets_ && to_pin && nets_->hasKey(network->net(to_pin)))
|| (insts_ && to_pin && insts_->hasKey(network->instance(to_pin))))
&& rf_->matches(to_rf);
}