fix bad overflow handling

This commit is contained in:
vsc 2010-12-31 05:37:25 +00:00
parent 05e15454ee
commit 58b838b8e1
2 changed files with 2 additions and 1 deletions

View File

@ -918,6 +918,7 @@ split_megaclause(PredEntry *ap)
} }
return; return;
} }
break;
} }
Yap_ClauseSpace += sizeof(StaticClause)+mcl->ClItemSize+(UInt)NEXTOP((yamop *)NULL,p); Yap_ClauseSpace += sizeof(StaticClause)+mcl->ClItemSize+(UInt)NEXTOP((yamop *)NULL,p);
new->ClFlags = StaticMask|FactMask; new->ClFlags = StaticMask|FactMask;

@ -1 +1 @@
Subproject commit 29151b2fe68f2dc727cdc07040e1fa1ad4fcca20 Subproject commit f11e3d43683f708fe7011dff7cd8f9b495cfda17