write_depth/3
overflow handlings and garbage collection Several ipdates to CLPBN dif/2 could be broken in the presence of attributed variables. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1474 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -401,10 +401,9 @@ push_registers(Int num_regs, yamop *nextop)
|
||||
TR++;
|
||||
#ifdef COROUTINING
|
||||
TrailTerm(TR) = WokenGoals;
|
||||
TrailTerm(TR+1) = MutableList;
|
||||
TrailTerm(TR+2) = AttsMutableList;
|
||||
TrailTerm(TR+3) = DelayedVars;
|
||||
TR += 4;
|
||||
TrailTerm(TR+1) = AttsMutableList;
|
||||
TrailTerm(TR+2) = DelayedVars;
|
||||
TR += 3;
|
||||
#endif
|
||||
for (i = 1; i <= num_regs; i++)
|
||||
TrailTerm(TR++) = (CELL) XREGS[i];
|
||||
@@ -465,7 +464,6 @@ pop_registers(Int num_regs, yamop *nextop)
|
||||
#ifdef COROUTINING
|
||||
#ifdef MULTI_ASSIGNMENT_VARIABLES
|
||||
WokenGoals = TrailTerm(ptr++);
|
||||
MutableList = TrailTerm(ptr++);
|
||||
AttsMutableList = TrailTerm(ptr++);
|
||||
DelayedVars = TrailTerm(ptr++);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user