Temp change in the AIG reader and minor tuning.

This commit is contained in:
Alan Mishchenko 2015-07-09 09:35:58 -07:00
parent f6a3c28e88
commit f4d72b2af2
1 changed files with 2 additions and 2 deletions

View File

@ -663,8 +663,8 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
int i, nRegs;
pCur++;
pCurTemp = pCur + Gia_AigerReadInt(pCur) + 4; pCur += 4;
//nRegs = Gia_AigerReadInt(pCur); pCur += 4;
nRegs = (pCurTemp - pCur)/4;
nRegs = Gia_AigerReadInt(pCur); pCur += 4;
//nRegs = (pCurTemp - pCur)/4;
pNew->vRegClasses = Vec_IntAlloc( nRegs );
for ( i = 0; i < nRegs; i++ )
Vec_IntPush( pNew->vRegClasses, Gia_AigerReadInt(pCur) ), pCur += 4;