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();
|
||||
}
|
||||
#endif
|
||||
#ifdef SHADOW_S
|
||||
S = SREG;
|
||||
#endif /* SHADOW_S */
|
||||
saveregs();
|
||||
pt0 = Yap_ExpandIndex(pe, 0);
|
||||
/* restart index */
|
||||
setregs();
|
||||
#ifdef SHADOW_S
|
||||
SREG = S;
|
||||
#endif /* SHADOW_S */
|
||||
PREG = pt0;
|
||||
#if defined(YAPOR) || defined(THREADS)
|
||||
if (!PP)
|
||||
|
Reference in New Issue
Block a user