fixes to compilation of functor and ASP calculation for gc.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@31 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2001-05-08 20:39:01 +00:00
parent bac5432950
commit 3cde0b23bb
5 changed files with 13 additions and 4 deletions

View File

@@ -113,6 +113,13 @@ check_trail_consistency(void) {
}
*/
static char *op_names[_std_top + 1] =
{
#define OPCODE(OP,TYPE) #OP
#include "YapOpcodes.h"
#undef OPCODE
};
void
low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
{
@@ -122,7 +129,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
extern int gc_calls;
vsc_count++;
/* if (vsc_count < 420430) return; */
if (vsc_count < 2810) return;
/* if (vsc_count > 500000) exit(0); */
/* if (gc_calls < 1) return;*/
YP_fprintf(YP_stderr,"%lu ",vsc_count);