no need to change emv
This commit is contained in:
parent
ddbba89d16
commit
68c29b3ab0
10
C/exec.c
10
C/exec.c
@ -68,9 +68,15 @@ CallPredicate(PredEntry *pen, choiceptr cut_pt, yamop *code USES_REGS) {
|
|||||||
DEPTH -= MkIntConstant(2);
|
DEPTH -= MkIntConstant(2);
|
||||||
#endif /* DEPTH_LIMIT */
|
#endif /* DEPTH_LIMIT */
|
||||||
if (P->opc != EXECUTE_CPRED_OP_CODE) {
|
if (P->opc != EXECUTE_CPRED_OP_CODE) {
|
||||||
CP = P;
|
// YENV[E_CP] = CP;
|
||||||
ENV = YENV;
|
// YENV[E_E] = ENV;
|
||||||
|
//#ifdef DEPTH_LIMIT
|
||||||
|
// YENV[E_DEPTH] = DEPTH;
|
||||||
|
//#endif
|
||||||
|
// ENV = YENV;
|
||||||
YENV = ASP;
|
YENV = ASP;
|
||||||
|
|
||||||
|
CP = P;
|
||||||
}
|
}
|
||||||
/* make sure we have access to the user given cut */
|
/* make sure we have access to the user given cut */
|
||||||
YENV[E_CB] = (CELL) cut_pt;
|
YENV[E_CB] = (CELL) cut_pt;
|
||||||
|
Reference in New Issue
Block a user