fix previous bug right! (var_array was not a slot so you also should
remember the last slot). git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@198 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
c39fc5e742
commit
88e90c7991
@ -2394,7 +2394,7 @@ do_pass(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( (char *)(label_offset+cpc->rnd1) > freep)
|
if ( (char *)(label_offset+cpc->rnd1) > freep)
|
||||||
freep = (char *)(label_offset+cpc->rnd1);
|
freep = (char *)(label_offset+(cpc->rnd1+1));
|
||||||
label_offset[cpc->rnd1] = (CELL) code_p;
|
label_offset[cpc->rnd1] = (CELL) code_p;
|
||||||
}
|
}
|
||||||
/* reset dealloc_found in case there was a branch */
|
/* reset dealloc_found in case there was a branch */
|
||||||
|
@ -130,7 +130,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
|
|||||||
extern int gc_calls;
|
extern int gc_calls;
|
||||||
|
|
||||||
vsc_count++;
|
vsc_count++;
|
||||||
/* if (vsc_count <178000) return; */
|
if (vsc_count < 56514000) return;
|
||||||
/* if (vsc_count > 500000) exit(0); */
|
/* if (vsc_count > 500000) exit(0); */
|
||||||
/* if (gc_calls < 1) return;*/
|
/* if (gc_calls < 1) return;*/
|
||||||
YP_fprintf(YP_stderr,"%lu ", vsc_count);
|
YP_fprintf(YP_stderr,"%lu ", vsc_count);
|
||||||
|
Reference in New Issue
Block a user