fix another loop in spy_pred.
This commit is contained in:
parent
39e3bc8e41
commit
924cf77fed
@ -1006,7 +1006,7 @@ RemoveMainIndex(PredEntry *ap)
|
|||||||
}
|
}
|
||||||
if (First != NULL && spied) {
|
if (First != NULL && spied) {
|
||||||
ap->OpcodeOfPred = Yap_opcode(_spy_pred);
|
ap->OpcodeOfPred = Yap_opcode(_spy_pred);
|
||||||
ap->cs.p_code.TrueCodeOfPred = ap->CodeOfPred = (yamop *)(&(ap->OpcodeOfPred));
|
ap->CodeOfPred = (yamop *)(&(ap->OpcodeOfPred));
|
||||||
} else if (ap->cs.p_code.NOfClauses > 1
|
} else if (ap->cs.p_code.NOfClauses > 1
|
||||||
#ifdef TABLING
|
#ifdef TABLING
|
||||||
||ap->PredFlags & TabledPredFlag
|
||ap->PredFlags & TabledPredFlag
|
||||||
|
Reference in New Issue
Block a user