don't be too eager at throwing indexing code for static predicates away.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1573 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
4
C/init.c
4
C/init.c
@@ -724,14 +724,10 @@ Yap_InitCPredBack(char *Name, unsigned long int Arity,
|
||||
else {
|
||||
StaticClause *cl;
|
||||
yamop *code = ((StaticClause *)NULL)->ClCode;
|
||||
#ifdef CUT_C
|
||||
if (flags & UserCPredFlag)
|
||||
pe->PredFlags = UserCPredFlag | CompiledPredFlag | StandardPredFlag;
|
||||
else
|
||||
pe->PredFlags = CompiledPredFlag | StandardPredFlag;
|
||||
#else /* BUG ?*/
|
||||
pe->PredFlags = CompiledPredFlag | StandardPredFlag;
|
||||
#endif /*CUT_C*/
|
||||
|
||||
#ifdef YAPOR
|
||||
pe->PredFlags |= SequentialPredFlag;
|
||||
|
Reference in New Issue
Block a user