fix pruning bug
make DL_MALLOC less enthusiastic about walking through buckets. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1253 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -586,7 +586,7 @@ InitReverseLookupOpcode(void)
|
||||
if (OP_RTABLE == NULL)
|
||||
OP_RTABLE = (opentry *)Yap_AllocCodeSpace(OP_HASH_SIZE*sizeof(struct opcode_tab_entry));
|
||||
if (OP_RTABLE == NULL) {
|
||||
Yap_Error(FATAL_ERROR, TermNil,
|
||||
Yap_Error(INTERNAL_ERROR, TermNil,
|
||||
"Couldn't obtain space for the reverse translation opcode table");
|
||||
}
|
||||
opeptr = OP_RTABLE;
|
||||
|
Reference in New Issue
Block a user