indenting and fix bad usage of recover slots.
This commit is contained in:
parent
24b90ae6bd
commit
503b2b93f9
@ -729,7 +729,7 @@ restore_from_write(struct rewind_term *rwt, struct write_globs *wglb)
|
|||||||
|
|
||||||
if (wglb->Keep_terms) {
|
if (wglb->Keep_terms) {
|
||||||
ptr = (CELL*)Yap_GetPtrFromSlot(rwt->u_sd.s.ptr PASS_REGS);
|
ptr = (CELL*)Yap_GetPtrFromSlot(rwt->u_sd.s.ptr PASS_REGS);
|
||||||
Yap_RecoverSlots(2 PASS_REGS);
|
//Yap_RecoverSlots(2 PASS_REGS);
|
||||||
} else {
|
} else {
|
||||||
ptr = rwt->u_sd.d.ptr;
|
ptr = rwt->u_sd.d.ptr;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user