Mega clauses
Fixes to sizeof(expand_clauses) which was being overestimated Fixes to profiling+indexing Fixes to reallocation of memory after restoring Make sure all clauses, even for C, end in _Ystop Don't reuse space for Streams Fix Stream_F on StreaNo+1 git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1147 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
22
C/errors.c
22
C/errors.c
@@ -137,30 +137,10 @@ DumpActiveGoals (void)
|
||||
while (TRUE)
|
||||
{
|
||||
PredEntry *pe;
|
||||
op_numbers opnum;
|
||||
|
||||
if (!ONLOCAL (b_ptr) || b_ptr->cp_b == NULL)
|
||||
break;
|
||||
opnum = Yap_op_from_opcode(b_ptr->cp_ap->opc);
|
||||
restart_cp:
|
||||
switch(opnum) {
|
||||
case _or_else:
|
||||
if (b_ptr->cp_ap == (yamop *)(b_ptr->cp_ap->u.sla.sla_u.l))
|
||||
{
|
||||
Yap_plwrite(MkAtomTerm(Yap_LookupAtom("repeat ")), Yap_DebugPutc, 0);
|
||||
}
|
||||
case _or_last:
|
||||
pe = b_ptr->cp_cp->u.sla.p0;
|
||||
break;
|
||||
case _retry_profiled:
|
||||
opnum = Yap_op_from_opcode(NEXTOP(b_ptr->cp_ap,l)->opc);
|
||||
goto restart_cp;
|
||||
case _count_retry_me:
|
||||
opnum = Yap_op_from_opcode(NEXTOP(b_ptr->cp_ap,l)->opc);
|
||||
goto restart_cp;
|
||||
default:
|
||||
pe = (PredEntry *)(b_ptr->cp_ap->u.ld.p);
|
||||
}
|
||||
pe = Yap_PredForChoicePt(b_ptr);
|
||||
READ_LOCK(pe->PRWLock);
|
||||
{
|
||||
Functor f;
|
||||
|
Reference in New Issue
Block a user