summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-07-04 15:23:51 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-07-04 15:23:51 -0700
commit859e769f22195ba971de037c883c0d8552459fe7 (patch)
treed8ce1204cc1a42820d388f4dd62843aeba320c28 /src/base
parentbf6a053c648576c1e5493f2d5390eb78b2e3df1c (diff)
downloadabc-859e769f22195ba971de037c883c0d8552459fe7.tar.gz
abc-859e769f22195ba971de037c883c0d8552459fe7.tar.bz2
abc-859e769f22195ba971de037c883c0d8552459fe7.zip
Synchronizing various data-structures.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/main/mainFrame.c6
-rw-r--r--src/base/main/mainInt.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/base/main/mainFrame.c b/src/base/main/mainFrame.c
index cd4ff2c7..7d9edecf 100644
--- a/src/base/main/mainFrame.c
+++ b/src/base/main/mainFrame.c
@@ -227,6 +227,12 @@ void Abc_FrameDeallocate( Abc_Frame_t * p )
Vec_IntFreeP( &p->pAbcWlcInv );
Abc_NamDeref( s_GlobalFrame->pJsonStrs );
Vec_WecFreeP(&s_GlobalFrame->vJsonObjs );
+
+ Gia_ManStopP( &p->pGiaMiniAig );
+ Gia_ManStopP( &p->pGiaMiniLut );
+ Vec_IntFreeP( &p->vCopyMiniAig );
+ Vec_IntFreeP( &p->vCopyMiniLut );
+
ABC_FREE( p );
s_GlobalFrame = NULL;
}
diff --git a/src/base/main/mainInt.h b/src/base/main/mainInt.h
index 278a9191..30671fcb 100644
--- a/src/base/main/mainInt.h
+++ b/src/base/main/mainInt.h
@@ -137,6 +137,10 @@ struct Abc_Frame_t_
#ifdef ABC_USE_CUDD
DdManager * dd; // temporary BDD package
#endif
+ Gia_Man_t * pGiaMiniAig;
+ Gia_Man_t * pGiaMiniLut;
+ Vec_Int_t * vCopyMiniAig;
+ Vec_Int_t * vCopyMiniLut;
};
typedef void (*Abc_Frame_Initialization_Func)( Abc_Frame_t * pAbc );