slots were not inited in tabling code, due to bad ifdef (obs from Chris Mungall).

This commit is contained in:
Costa Vitor 2009-07-17 18:39:50 -05:00
parent 390408d5af
commit 66683aeef9

View File

@ -7512,9 +7512,9 @@ Yap_absmi(int inp)
ASP = (CELL *) (((char *) YREG) + PREG->u.Osbpp.s);
}
/* for slots to work */
#endif /* FROZEN_STACKS */
Yap_StartSlots();
Yap_PrologMode = UserCCallMode;
#endif /* FROZEN_STACKS */
{
PredEntry *p = PREG->u.Osbpp.p;
#ifdef LOW_LEVEL_TRACER