remove abort_yapor function
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1307 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
1e37891c2d
commit
5d6d25fba8
@ -11,8 +11,12 @@
|
||||
* File: cdmgr.c *
|
||||
* comments: Code manager *
|
||||
* *
|
||||
* Last rev: $Date: 2005-05-12 03:36:32 $,$Author: vsc $ *
|
||||
* Last rev: $Date: 2005-05-31 00:30:23 $,$Author: ricroc $ *
|
||||
* $Log: not supported by cvs2svn $
|
||||
* Revision 1.157 2005/05/12 03:36:32 vsc
|
||||
* debugger was making predicates meta instead of testing
|
||||
* fix handling of dbrefs in facts and in subarguments.
|
||||
*
|
||||
* Revision 1.156 2005/04/20 04:02:15 vsc
|
||||
* fix a few variable warnings
|
||||
* fix erase clause to pass a pointer to clause, not code
|
||||
@ -1225,7 +1229,7 @@ add_first_static(PredEntry *p, yamop *cp, int spy_flag)
|
||||
PUT_YAMOP_SEQ(pt);
|
||||
}
|
||||
if (YAMOP_LTT(pt) != 1)
|
||||
abort_yapor("YAMOP_LTT error in function add_first_static");
|
||||
Yap_Error(INTERNAL_ERROR, TermNil, "YAMOP_LTT error (add_first_static)");
|
||||
#endif /* YAPOR */
|
||||
#ifdef TABLING
|
||||
if (is_tabled(p)) {
|
||||
|
4
C/init.c
4
C/init.c
@ -665,7 +665,7 @@ Yap_InitCPredBack(char *Name, unsigned long int Arity, unsigned int Extra, CPred
|
||||
else {
|
||||
StaticClause *cl;
|
||||
yamop *code = ((StaticClause *)NULL)->ClCode;
|
||||
pe->PredFlags = CompiledPredFlag | StandardPredFlag;
|
||||
pe->PredFlags = CompiledPredFlag | StandardPredFlag ;
|
||||
#ifdef YAPOR
|
||||
pe->PredFlags |= SequentialPredFlag;
|
||||
#endif /* YAPOR */
|
||||
@ -1163,7 +1163,7 @@ Yap_InitWorkspace(int Heap,
|
||||
#ifdef YAPOR
|
||||
worker_id = 0;
|
||||
if (aux_number_workers > MAX_WORKERS)
|
||||
abort_yapor("excessive number of workers");
|
||||
Yap_Error(INTERNAL_ERROR, TermNil, "excessive number of workers (Yap_InitWorkspace)");
|
||||
#ifdef ENV_COPY
|
||||
INFORMATION_MESSAGE("YapOr: copy model with %d worker%s", aux_number_workers, aux_number_workers == 1 ? "":"s");
|
||||
#elif ACOW
|
||||
|
Reference in New Issue
Block a user