ifix thread compilation.
This commit is contained in:
parent
fb2a17addf
commit
474c088baf
@ -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);
|
||||||
|
Reference in New Issue
Block a user