fix bug in entering garbage collector (bad PP).

This commit is contained in:
Vítor Santos Costa 2011-03-11 19:47:21 +00:00
parent 7f44012266
commit 5bea35d13e

View File

@ -2616,7 +2616,7 @@ Yap_absmi(int inp)
PREG->opc != Yap_opcode(_cut_e))) {
GONext();
}
PP = PREG->u.p.p;
PP = PREVOP(PREG,p)->u.p.p;
ASP = YREG+E_CB;
/* cut_e */
if (SREG <= ASP) {