*** empty log message ***
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1373 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
8f7f0113a6
commit
dd6ac01ece
@ -14176,9 +14176,7 @@ An alternative is to use @emph{slots}, as shown next:
|
|||||||
out = YAP_RunGoal(t);
|
out = YAP_RunGoal(t);
|
||||||
t = YAP_GetFromSlot(sl);
|
t = YAP_GetFromSlot(sl);
|
||||||
YAP_RecoverSlots(1);
|
YAP_RecoverSlots(1);
|
||||||
if (out == 0) {
|
if (out == 0) return FALSE;
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
@end example
|
@end example
|
||||||
Slots are safe houses in the stack, preserved by the garbage collector
|
Slots are safe houses in the stack, preserved by the garbage collector
|
||||||
and the stack shifter. In this case, we use a slot to preserve @var{t}
|
and the stack shifter. In this case, we use a slot to preserve @var{t}
|
||||||
|
Reference in New Issue
Block a user