Two fixes:

GMP should not do error handling itself, as its execution env is
not reliable.
	allocate should check for space.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@875 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2003-09-24 14:51:42 +00:00
parent 8df97ef09d
commit 1f2fb8284a
5 changed files with 54 additions and 19 deletions

View File

@@ -3227,7 +3227,8 @@ c_recorded(int flags)
static Int
lu_recorded(PredEntry *pe) {
if (Yap_op_from_opcode(P->opc) == _procceed) {
op_numbers opc = Yap_op_from_opcode(P->opc);
if (opc == _procceed) {
P = pe->CodeOfPred;
} else {
CP = P;