Updates to delay optimization project.

This commit is contained in:
Alan Mishchenko 2017-01-02 17:18:08 +07:00
parent daf310cd4a
commit 8b898f85e6
1 changed files with 1 additions and 1 deletions

View File

@ -1945,7 +1945,7 @@ int Sbd_ManImplement2( Sbd_Man_t * p, int Pivot, int nStrs, Sbd_Str_t * pStrs )
void Sbd_ManDeriveMapping_rec( Sbd_Man_t * p, Gia_Man_t * pNew, int iObj ) void Sbd_ManDeriveMapping_rec( Sbd_Man_t * p, Gia_Man_t * pNew, int iObj )
{ {
Gia_Obj_t * pObj; int k, * pCut; Gia_Obj_t * pObj; int k, * pCut;
if ( Gia_ObjIsTravIdCurrentId(pNew, iObj) ) if ( !iObj || Gia_ObjIsTravIdCurrentId(pNew, iObj) )
return; return;
Gia_ObjSetTravIdCurrentId(pNew, iObj); Gia_ObjSetTravIdCurrentId(pNew, iObj);
pObj = Gia_ManObj( pNew, iObj ); pObj = Gia_ManObj( pNew, iObj );