consider case where we are not indexed.

This commit is contained in:
Vitor Santos Costa 2011-08-31 13:57:10 -07:00
parent e5a62a8843
commit 1b34fde09e

View File

@ -5979,7 +5979,7 @@ Yap_RemoveClauseFromIndex(PredEntry *ap, yamop *beg) {
}
#endif
ap->OpcodeOfPred = Yap_opcode(_op_fail);
} else {
} else if (ap->PredFlags & IndexedPredFlag) {
remove_from_index(ap, sp, &cl, beg, last, &cint);
}
}