unnecessary lock-pred
This commit is contained in:
parent
e96750b476
commit
b6b44c655f
@ -1621,14 +1621,6 @@ retract_all(PredEntry *p, int in_use)
|
|||||||
p->OpcodeOfPred = UNDEF_OPCODE;
|
p->OpcodeOfPred = UNDEF_OPCODE;
|
||||||
}
|
}
|
||||||
p->cs.p_code.TrueCodeOfPred = p->CodeOfPred = (yamop *)(&(p->OpcodeOfPred));
|
p->cs.p_code.TrueCodeOfPred = p->CodeOfPred = (yamop *)(&(p->OpcodeOfPred));
|
||||||
#if defined(YAPOR) || defined(THREADS)
|
|
||||||
if (p->PredFlags & LogUpdatePredFlag &&
|
|
||||||
!(p->PredFlags & ThreadLocalPredFlag) &&
|
|
||||||
p->ModuleOfPred != IDB_MODULE) {
|
|
||||||
p->OpcodeOfPred = LOCKPRED_OPCODE;
|
|
||||||
p->CodeOfPred = (yamop *)(&(p->OpcodeOfPred));
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
p->StatisticsForPred.NOfEntries = 0;
|
p->StatisticsForPred.NOfEntries = 0;
|
||||||
p->StatisticsForPred.NOfHeadSuccesses = 0;
|
p->StatisticsForPred.NOfHeadSuccesses = 0;
|
||||||
p->StatisticsForPred.NOfRetries = 0;
|
p->StatisticsForPred.NOfRetries = 0;
|
||||||
|
Reference in New Issue
Block a user