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