try to make sure we always have slots
This commit is contained in:
parent
26b5173a33
commit
a4acb6a806
@ -856,7 +856,10 @@ Yap_absmi(int inp)
|
||||
|
||||
BOp(Ystop, l);
|
||||
SET_ASP(YREG, E_CB*sizeof(CELL));
|
||||
/* make sure ASP is initialised */
|
||||
Yap_StartSlots();
|
||||
saveregs();
|
||||
|
||||
#if PUSH_REGS
|
||||
restore_absmi_regs(old_regs);
|
||||
#endif
|
||||
|
@ -2566,8 +2566,8 @@ YAP_RestartGoal(void)
|
||||
LOCAL_PrologMode = UserCCallMode;
|
||||
if (out == FALSE) {
|
||||
/* cleanup */
|
||||
Yap_CloseSlots( PASS_REGS1 );
|
||||
Yap_trust_last();
|
||||
Yap_CloseSlots( PASS_REGS1 );
|
||||
LOCAL_AllowRestart = FALSE;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user