summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-11-13 18:50:04 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2017-11-13 18:50:04 -0800
commitd85bc1dd68afa94ad4625cfae3f59e5211253111 (patch)
tree3b2522baf1e93c23babd9a9b6bf0e3f6853c14f2 /src/base/abci
parent71d9a1671447b0235b8ed2c8090835fdcf65a93a (diff)
downloadabc-d85bc1dd68afa94ad4625cfae3f59e5211253111.tar.gz
abc-d85bc1dd68afa94ad4625cfae3f59e5211253111.tar.bz2
abc-d85bc1dd68afa94ad4625cfae3f59e5211253111.zip
Changes to make GIA structural hashing use a dedicated array instead of pObj->Value.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abcRec3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/abci/abcRec3.c b/src/base/abci/abcRec3.c
index 6d2d58eb..43da4839 100644
--- a/src/base/abci/abcRec3.c
+++ b/src/base/abci/abcRec3.c
@@ -585,7 +585,7 @@ void Abc_NtkRecLibMerge3( Gia_Man_t * pLib )
assert( Gia_ManCiNum(pLib) == Gia_ManCiNum(pGia) );
// create hash table if not available
- if ( pGia->pHTable == NULL )
+ if ( Vec_IntSize(&pGia->vHTable) == 0 )
Gia_ManHashStart( pGia );
// add AIG subgraphs
@@ -841,7 +841,7 @@ void Abc_NtkRecAdd3( Abc_Ntk_t * pNtk, int fUseSOPB )
// remember that the manager was used for library construction
s_pMan3->fLibConstr = 1;
// create hash table if not available
- if ( s_pMan3->pGia && s_pMan3->pGia->pHTable == NULL )
+ if ( s_pMan3->pGia && Vec_IntSize(&s_pMan3->pGia->vHTable) == 0 )
Gia_ManHashStart( s_pMan3->pGia );
// set defaults