[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EMACS_INT cleanup
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: EMACS_INT cleanup |
Date: |
Fri, 24 Sep 2010 00:53:40 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> What's wrong with ptrdiff_t?
In principle, that's the best thing. However:
grep -nH -e SPECPDL_INDEX *.c
alloc.c:4849: int count = SPECPDL_INDEX ();
alloc.c:4877: int count = SPECPDL_INDEX ();
buffer.c:1405: int count = SPECPDL_INDEX ();
buffer.c:1680: count = SPECPDL_INDEX ();
buffer.c:3807: int count = SPECPDL_INDEX ();
buffer.c:3916: int count = SPECPDL_INDEX ();
bytecode.c:408: int count = SPECPDL_INDEX ();
[165 lines removed]
Isn't the SPECPDL thing for building a backtrace strack? The
specbinding structure is 16 bytes, and I'm assuming that it's organised
as a, er, stack. So having this be more than 31 bits will require a
recursion that goes deeper than the moon has atoms. (Well, ok. That's
a slight exaggeration. I admit it.)
Of course, I've probably totally misunderstood how is works after
spending several seconds reading the comment about it in lisp.h.
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: EMACS_INT cleanup, (continued)
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/24
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup,
Lars Magne Ingebrigtsen <=
- Re: EMACS_INT cleanup, Stefan Monnier, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23
- Re: EMACS_INT cleanup, Andreas Schwab, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, Eli Zaretskii, 2010/09/24
- Re: EMACS_INT cleanup, David Kastrup, 2010/09/23
- Re: EMACS_INT cleanup, Lars Magne Ingebrigtsen, 2010/09/23