support for configure 2.5
recover memory in catch/throw. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@75 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -160,6 +160,11 @@ Term UpdateTimedVar(Term inv, Term new)
|
||||
else
|
||||
#endif
|
||||
tv->value = new;
|
||||
#if defined(SBA) || defined(TABLING)
|
||||
if (Unsigned((Int)(tv)-(Int)(HBREG)) >
|
||||
Unsigned(BBREG)-(Int)(HBREG))
|
||||
TrailVal(timestmp-1) = new;
|
||||
#endif
|
||||
} else {
|
||||
Term nclock = (Term)H;
|
||||
MaBind(&(tv->value), new);
|
||||
|
Reference in New Issue
Block a user