Remove GLOBAL_AGcLastCall. Fix GLOBAL_check_sg_fr.

This commit is contained in:
Joao
2011-05-10 12:20:22 +01:00
parent ebd0e8a7c0
commit d6fc76faf1
10 changed files with 7 additions and 17 deletions

View File

@@ -162,7 +162,7 @@ extern int Yap_page_size;
}
#define RECOVER_UNUSED_SPACE(STR_PAGES) \
{ sg_fr_ptr sg_fr = Yap_check_sg_fr; \
{ sg_fr_ptr sg_fr = GLOBAL_check_sg_fr; \
do { \
if (sg_fr) \
sg_fr = SgFr_next(sg_fr); \
@@ -186,7 +186,7 @@ extern int Yap_page_size;
TrNode_child(SgFr_answer_trie(sg_fr)) = NULL; \
} \
} while (Pg_free_pg(GLOBAL_pages_void) == Pg_free_pg(STR_PAGES)); \
Yap_check_sg_fr = sg_fr; \
GLOBAL_check_sg_fr = sg_fr; \
}
#define ALLOC_STRUCT(STR, STR_PAGES, STR_TYPE) \