fix empty instruction confusing garbage collector.
This commit is contained in:
parent
db619fa81f
commit
58d7f85417
@ -7298,6 +7298,8 @@ Yap_absmi(int inp)
|
|||||||
when we put this instruction, cut_userc, after retry_userc*/
|
when we put this instruction, cut_userc, after retry_userc*/
|
||||||
printf ("ERROR: Should not print this message FILE: absmi.c %d\n",__LINE__);
|
printf ("ERROR: Should not print this message FILE: absmi.c %d\n",__LINE__);
|
||||||
#endif /*DEBUG*/
|
#endif /*DEBUG*/
|
||||||
|
CACHE_A1();
|
||||||
|
JMPNext();
|
||||||
ENDBOp();
|
ENDBOp();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -7307,7 +7309,6 @@ Yap_absmi(int inp)
|
|||||||
\************************************************************************/
|
\************************************************************************/
|
||||||
|
|
||||||
BOp(lock_pred, e);
|
BOp(lock_pred, e);
|
||||||
#if defined(YAPOR) || defined(THREADS)
|
|
||||||
{
|
{
|
||||||
PredEntry *ap = PredFromDefCode(PREG);
|
PredEntry *ap = PredFromDefCode(PREG);
|
||||||
PELOCK(10,ap);
|
PELOCK(10,ap);
|
||||||
@ -7334,7 +7335,6 @@ Yap_absmi(int inp)
|
|||||||
}
|
}
|
||||||
PREG = ap->cs.p_code.TrueCodeOfPred;
|
PREG = ap->cs.p_code.TrueCodeOfPred;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
JMPNext();
|
JMPNext();
|
||||||
ENDBOp();
|
ENDBOp();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user