fix stupid indesing of very long terms.

This commit is contained in:
Vítor Santos Costa
2012-06-05 08:04:22 +01:00
parent d1d01ddc2a
commit c4bd913e34
2 changed files with 5 additions and 2 deletions

View File

@@ -145,6 +145,9 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
LOCK(Yap_heap_regs->low_level_trace_lock);
sc = Yap_heap_regs;
vsc_count++;
if (vsc_count == 1719615) jmp_deb(1);
if (vsc_count < 1719600)
return;
#ifdef THREADS
LOCAL_ThreadHandle.thread_inst_count++;
#endif