ifix thread compilation.

This commit is contained in:
Vitor Santos Costa 2012-10-17 17:22:43 +01:00
parent fb2a17addf
commit 474c088baf

View File

@ -857,7 +857,7 @@ Yap_absmi(int inp)
BOp(Ystop, l); BOp(Ystop, l);
SET_ASP(YREG, E_CB*sizeof(CELL)); SET_ASP(YREG, E_CB*sizeof(CELL));
/* make sure ASP is initialised */ /* make sure ASP is initialised */
Yap_StartSlots(); Yap_StartSlots( PASS_REGS1 );
saveregs(); saveregs();
#if PUSH_REGS #if PUSH_REGS
@ -2167,7 +2167,7 @@ Yap_absmi(int inp)
} else { } else {
DynamicClause *cl = ClauseFlagsToDynamicClause(pt1); DynamicClause *cl = ClauseFlagsToDynamicClause(pt1);
int erase; int erase;
LOCK(cl->ClLock); LOCK(cl->ClLock);
DEC_CLREF_COUNT(cl); DEC_CLREF_COUNT(cl);
erase = (cl->ClFlags & ErasedMask) && !(cl->ClRefCount); erase = (cl->ClFlags & ErasedMask) && !(cl->ClRefCount);