1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 01:20:37 -08:00
emacs/lib-src
Paul Eggert bc78ff2603 Use 0 for Qnil
Fixes Bug#15880.
If USE_LSB_TAG, arrange for the representation of Qnil to be zero so
that NILP (x) is equivalent to testing whether x is 0 at the
machine level.  The overall effects of this and the previous patch
shrink the size of the text segment by 2.3% and speeds up
compilation of all the .elc files by about 0.5% on my platform,
which is Fedora 20 x86-64.
* lib-src/make-docfile.c (compare_globals):
* src/lisp.h (lisp_h_XPNTR, lisp_h_XSYMBOL, lisp_h_XUNTAG)
(make_lisp_symbol) [USE_LSB_TAG]:
Symbols now tag the difference from lispsym, not the pointer.
(lisp_h_XUNTAGBASE, TAG_SYMPTR): New macros.
(Lisp_Int0, Lisp_Int1, Lisp_Symbol, Lisp_Misc, Lisp_String, Lisp_Cons):
Renumber so that Lisp_Symbol is 0, so that Qnil is zero.
(XSYMBOL): New forward decl.
(XUNTAGBASE): New function.
(XUNTAG): Use it.
2015-01-05 10:15:04 -08:00
..
ChangeLog Use 0 for Qnil 2015-01-05 10:15:04 -08:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacsclient.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
etags.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
hexl.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
make-docfile.c Use 0 for Qnil 2015-01-05 10:15:04 -08:00
Makefile.in Less 'make' chatter for lib-src 2015-01-03 18:54:34 -08:00
makefile.w32-in Update copyright year to 2015 2015-01-01 14:26:41 -08:00
movemail.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ntlib.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ntlib.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pop.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pop.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
profile.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rcs2log Fix copyright years by hand 2015-01-01 14:27:34 -08:00
README
update-game-score.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.