Fix crash in PropActivityVisitor::visit when accessing null LibertyPort
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
parent
2debe54ede
commit
f4cb6e7354
|
|
@ -490,9 +490,11 @@ PropActivityVisitor::visit(Vertex *vertex)
|
|||
}
|
||||
if (network_->isDriver(pin)) {
|
||||
LibertyPort *port = network_->libertyPort(pin);
|
||||
if (port) {
|
||||
LibertyCell *test_cell = port->libertyCell()->testCell();
|
||||
if (test_cell)
|
||||
port = test_cell->findLibertyPort(port->name());
|
||||
}
|
||||
if (port) {
|
||||
FuncExpr *func = port->function();
|
||||
if (func) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue