Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
This commit is contained in:
commit
daa05caf86
14
C/heapgc.c
14
C/heapgc.c
@ -1971,13 +1971,10 @@ mark_choicepoints(register choiceptr gc_B, tr_fr_ptr saved_TR, int very_verbose)
|
|||||||
mark_environments((CELL_PTR) gc_B->cp_env,
|
mark_environments((CELL_PTR) gc_B->cp_env,
|
||||||
EnvSizeInCells,
|
EnvSizeInCells,
|
||||||
NULL);
|
NULL);
|
||||||
else
|
else if (opnum != _trust_fail)
|
||||||
#ifdef TABLING
|
mark_environments((CELL_PTR) gc_B->cp_env,
|
||||||
if (opnum != _table_completion)
|
EnvSize((yamop *) (gc_B->cp_cp)),
|
||||||
#endif /* TABLING */
|
EnvBMap((yamop *) (gc_B->cp_cp)));
|
||||||
mark_environments((CELL_PTR) gc_B->cp_env,
|
|
||||||
EnvSize((yamop *) (gc_B->cp_cp)),
|
|
||||||
EnvBMap((yamop *) (gc_B->cp_cp)));
|
|
||||||
/* extended choice point */
|
/* extended choice point */
|
||||||
restart_cp:
|
restart_cp:
|
||||||
switch (opnum) {
|
switch (opnum) {
|
||||||
@ -2854,9 +2851,6 @@ sweep_choicepoints(choiceptr gc_B)
|
|||||||
} else
|
} else
|
||||||
return;
|
return;
|
||||||
case _trust_fail:
|
case _trust_fail:
|
||||||
sweep_environments(gc_B->cp_env,
|
|
||||||
EnvSizeInCells,
|
|
||||||
NULL);
|
|
||||||
break;
|
break;
|
||||||
case _or_else:
|
case _or_else:
|
||||||
case _or_last:
|
case _or_last:
|
||||||
|
@ -881,7 +881,7 @@ Macros to check the limits of stacks
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TABLING
|
#ifdef TABLING
|
||||||
#define TABLING_close_alt(CPTR) (CPTR)->cp_ap = NULL
|
#define TABLING_close_alt(CPTR) (CPTR)->cp_ap = TRUSTFAILCODE
|
||||||
#else
|
#else
|
||||||
#define TABLING_close_alt(CPTR)
|
#define TABLING_close_alt(CPTR)
|
||||||
#endif /* TABLING */
|
#endif /* TABLING */
|
||||||
|
Reference in New Issue
Block a user