valgrind it!
enable atom garbage collection. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2055 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
5
C/agc.c
5
C/agc.c
@@ -270,7 +270,7 @@ mark_trail(void)
|
||||
static void
|
||||
mark_local(void)
|
||||
{
|
||||
register CELL *pt;
|
||||
CELL *pt;
|
||||
|
||||
/* Adjusting the local */
|
||||
pt = LCL0;
|
||||
@@ -434,9 +434,12 @@ atom_gc(void)
|
||||
|
||||
|
||||
UInt time_start, agc_time;
|
||||
#if defined(YAPOR) || defined(THREADS)
|
||||
return;
|
||||
#endif
|
||||
if (Yap_GetValue(AtomGcTrace) != TermNil)
|
||||
gc_trace = 1;
|
||||
|
||||
agc_calls++;
|
||||
agc_collected = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user