do not set PREG until being sure we have to jump
This commit is contained in:
parent
2588f5b7c5
commit
246d32551a
@ -8038,9 +8038,9 @@ Yap_absmi(int inp)
|
|||||||
setregs();
|
setregs();
|
||||||
JMPNext();
|
JMPNext();
|
||||||
}
|
}
|
||||||
PREG = pe->cs.p_code.TrueCodeOfPred;
|
|
||||||
if ((pe->PredFlags & (CountPredFlag|ProfiledPredFlag|SpiedPredFlag)) ==
|
if ((pe->PredFlags & (CountPredFlag|ProfiledPredFlag|SpiedPredFlag)) ==
|
||||||
CountPredFlag) {
|
CountPredFlag) {
|
||||||
|
PREG = pe->cs.p_code.TrueCodeOfPred;
|
||||||
JMPNext();
|
JMPNext();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user