fix cache usage in write.
This commit is contained in:
parent
21050891ee
commit
89e23bff65
@ -197,6 +197,7 @@ write_mpint(MP_INT *big, wrf writewch) {
|
|||||||
static void
|
static void
|
||||||
writebig(Term t, int p, int depth, int rinfixarg, struct write_globs *wglb, struct rewind_term *rwt)
|
writebig(Term t, int p, int depth, int rinfixarg, struct write_globs *wglb, struct rewind_term *rwt)
|
||||||
{
|
{
|
||||||
|
CACHE_REGS
|
||||||
CELL *pt = RepAppl(t)+1;
|
CELL *pt = RepAppl(t)+1;
|
||||||
#ifdef USE_GMP
|
#ifdef USE_GMP
|
||||||
if (pt[0] == BIG_INT)
|
if (pt[0] == BIG_INT)
|
||||||
|
Reference in New Issue
Block a user