fix empty instruction confusing garbage collector.

This commit is contained in:
Vítor Santos Costa 2012-01-21 18:19:57 +00:00
parent db619fa81f
commit 58d7f85417
1 changed files with 2 additions and 2 deletions

View File

@ -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();