cleanup on exception handling
This commit is contained in:
@@ -727,7 +727,7 @@ p_functor( USES_REGS1 ) /* functor(?,?,?) */
|
||||
pt1 = H;
|
||||
*pt1++ = d0;
|
||||
d0 = AbsAppl(H);
|
||||
if (pt1+d1 > ENV - CreepFlag) {
|
||||
if (pt1+d1 > ENV - StackGap( PASS_REGS1 )) {
|
||||
if (!Yap_gcl((1+d1)*sizeof(CELL), 3, ENV, gc_P(P,CP))) {
|
||||
Yap_Error(OUT_OF_STACK_ERROR, TermNil, LOCAL_ErrorMessage);
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user