64 bit machines may be using S while calling ExpandIndex.
This commit is contained in:
parent
40ea33c150
commit
418fa1a396
@ -7901,10 +7901,16 @@ Yap_absmi(int inp)
|
|||||||
JMPNext();
|
JMPNext();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SHADOW_S
|
||||||
|
S = SREG;
|
||||||
|
#endif /* SHADOW_S */
|
||||||
saveregs();
|
saveregs();
|
||||||
pt0 = Yap_ExpandIndex(pe, 0);
|
pt0 = Yap_ExpandIndex(pe, 0);
|
||||||
/* restart index */
|
/* restart index */
|
||||||
setregs();
|
setregs();
|
||||||
|
#ifdef SHADOW_S
|
||||||
|
SREG = S;
|
||||||
|
#endif /* SHADOW_S */
|
||||||
PREG = pt0;
|
PREG = pt0;
|
||||||
#if defined(YAPOR) || defined(THREADS)
|
#if defined(YAPOR) || defined(THREADS)
|
||||||
if (!PP)
|
if (!PP)
|
||||||
|
Reference in New Issue
Block a user