fix P details when creating execution environment: we should save the old one
This commit is contained in:
@@ -775,6 +775,8 @@ RestoreEnvInst(yamop start[2], yamop **instp, op_numbers opc, PredEntry *pred)
|
||||
ipc->opc = Yap_opcode(_call);
|
||||
ipc->u.Osbpp.p = pred;
|
||||
ipc->u.Osbpp.p0 = pred;
|
||||
ipc->u.Osbpp.bmap = NULL;
|
||||
ipc->u.Osbpp.s = -Signed(RealEnvSize);
|
||||
ipc = NEXTOP(ipc, Osbpp);
|
||||
ipc->opc = Yap_opcode(opc);
|
||||
*instp = ipc;
|
||||
|
Reference in New Issue
Block a user