diff options
| author | Paul Eggert | 2012-06-12 17:26:40 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-12 17:26:40 -0700 |
| commit | bfe3e0a23e66d16bfcaae6890bdd764dec0525f2 (patch) | |
| tree | 77a2c28772dffde4a5f0c8fc55d81701c29f11bb /src/ChangeLog | |
| parent | 1cce69208a638b9ce789e4c21df55b2315efd97c (diff) | |
| download | emacs-bfe3e0a23e66d16bfcaae6890bdd764dec0525f2.tar.gz emacs-bfe3e0a23e66d16bfcaae6890bdd764dec0525f2.zip | |
USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup (Bug#11604)
* alloc.c (make_number) [!defined make_number]:
Remove, as lisp.h always defines this now.
(mark_maybe_pointer): Simplify since USE_LSB_TAG is always defined now.
(roundup_size): Verify that it is a power of 2.
* data.c (Fmake_variable_buffer_local, Fmake_local_variable):
* ftfont.c (ftfont_driver): Use LISP_INITIALLY_ZERO.
* lisp.h (USE_LSB_TAG): Allow the builder to compile with
-DUSE_LSB_TAG=0, to override the automatically-selected default.
USE_LSB_TAG now is always defined to be either 0 or 1.
All uses changed.
(union Lisp_Object): Don't worry about WORDS_BIGENDIAN; the
code works fine either way, and efficiency is not a concern here,
as the union type is for debugging, not for production.
(LISP_MAKE_RVALUE, make_number) [USE_LISP_UNION_TYPE]:
Use an inline function on all platforms when using the union type,
since this is simpler and 'static inline' can be used portably
within Emacs now.
(LISP_INITIALLY_ZERO): New macro.
(XFASTINT, XSETFASTINT) [USE_LISP_UNION_TYPE]: Remove.
(XSET) [USE_LISP_UNION_TYPE]: Don't overparenthesize.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cd5c96cf36e..8a32572907d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2012-06-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | USE_LISP_UNION_TYPE + USE_LSB_TAG cleanup (Bug#11604) | ||
| 4 | * alloc.c (make_number) [!defined make_number]: | ||
| 5 | Remove, as lisp.h always defines this now. | ||
| 6 | (mark_maybe_pointer): Simplify since USE_LSB_TAG is always defined now. | ||
| 7 | (roundup_size): Verify that it is a power of 2. | ||
| 8 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable): | ||
| 9 | * ftfont.c (ftfont_driver): Use LISP_INITIALLY_ZERO. | ||
| 10 | * lisp.h (USE_LSB_TAG): Allow the builder to compile with | ||
| 11 | -DUSE_LSB_TAG=0, to override the automatically-selected default. | ||
| 12 | USE_LSB_TAG now is always defined to be either 0 or 1. | ||
| 13 | All uses changed. | ||
| 14 | (union Lisp_Object): Don't worry about WORDS_BIGENDIAN; the | ||
| 15 | code works fine either way, and efficiency is not a concern here, | ||
| 16 | as the union type is for debugging, not for production. | ||
| 17 | (LISP_MAKE_RVALUE, make_number) [USE_LISP_UNION_TYPE]: | ||
| 18 | Use an inline function on all platforms when using the union type, | ||
| 19 | since this is simpler and 'static inline' can be used portably | ||
| 20 | within Emacs now. | ||
| 21 | (LISP_INITIALLY_ZERO): New macro. | ||
| 22 | (XFASTINT, XSETFASTINT) [USE_LISP_UNION_TYPE]: Remove. | ||
| 23 | (XSET) [USE_LISP_UNION_TYPE]: Don't overparenthesize. | ||
| 24 | |||
| 1 | 2012-06-12 Glenn Morris <rgm@gnu.org> | 25 | 2012-06-12 Glenn Morris <rgm@gnu.org> |
| 2 | 26 | ||
| 3 | * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h, s/sol2-10.h: Remove files. | 27 | * s/gnu-kfreebsd.h, s/hpux11.h, s/openbsd.h, s/sol2-10.h: Remove files. |