restore stack on JumpExec
This commit is contained in:
parent
b9a7d24e8b
commit
b5e5a671a8
2
C/exec.c
2
C/exec.c
@ -1541,7 +1541,7 @@ JumpToEnv(Term t) {
|
||||
B->cp_env = (CELL *)env[E_E];
|
||||
B->cp_ap = NEXTOP(PredHandleThrow->CodeOfPred,l);
|
||||
/* can recover Heap thanks to copy term :-( */
|
||||
/* B->cp_h = H; */
|
||||
B->cp_h = H;
|
||||
/* I could backtrack here, but it is easier to leave the unwinding
|
||||
to the emulator */
|
||||
B->cp_a3 = t;
|
||||
|
Reference in New Issue
Block a user