git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@919
e59a4935-1847-0410-ae03-
e826735625c1
#OPTIMIZE = -O3 -march=native -fomit-frame-pointer # Maximum optimization
#OPTIMIZE = -O3 -march=native -DNDEBUG -DLESSBYTES_PERNODE
OPTIMIZE = -O3 # Maximum optimization
-CFLAGS_M32 = -m32 -g
+CFLAGS_M32 = -g
+
#-fno-inline
CFLAGS_BASE = $(OPTIMIZE)
aigMgr->fAddStrash = 1;
}
+ void stop()
+ {
+ if (aigMgr !=NULL)
+ Aig_ManStop(aigMgr);
+ aigMgr = NULL;
+ }
+
~BBNodeManagerAIG()
{
- Aig_ManStop(aigMgr);
+ stop();
}
BBNodeAIG getTrue()
mgr.toCNF(BBFormula, cnfData, nodeToSATVar);
+ // Free the memory in the AIGs.
+ BBFormula = BBNodeAIG(); // null node
+ mgr.stop();
+
bm->GetRunTimes()->start(RunTimes::SendingToSAT);
for (int i = 0; i < cnfData->nVars; i++)