diff --git a/C/exec.c b/C/exec.c index 5304ee807..cbbd690a5 100644 --- a/C/exec.c +++ b/C/exec.c @@ -968,7 +968,7 @@ exec_absmi(int top) /* H is not so important, because we're gonna backtrack */ restore_H(); /* set stack */ - ASP = B; + ASP =(CELL *) PROTECT_FROZEN_B(B); Yap_StartSlots(); LOCK(SignalLock); CreepFlag = CalculateStackGap();