diff options
| author | Paul Eggert | 2012-06-13 19:27:39 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-13 19:27:39 -0700 |
| commit | 2b5701247845a07e4a279abc8c3acaf75cbc8a1b (patch) | |
| tree | 245bcf84a0d69c249810e0f400e5a97949b6721d /src/ChangeLog | |
| parent | 81755f695c081ac5eb4e7250ebfbe39e5ffd6a11 (diff) | |
| download | emacs-2b5701247845a07e4a279abc8c3acaf75cbc8a1b.tar.gz emacs-2b5701247845a07e4a279abc8c3acaf75cbc8a1b.zip | |
Simplify lisp.h in minor ways that should not affect code.
* lisp.h (USE_2_TAGS_FOR_INTS): Remove, as it was always defined.
(LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P)
(LISP_INT1_TAG, enum Lisp_Type, XINT, XUINT, make_number):
Simplify under the assumption that USE_2_TAGS_FOR_INTS is defined.
(INTTYPEBITS): New macro, for clarity.
(INTMASK, MOST_POSITIVE_FIXNUM): Use it.
(LISP_INT1_TAG, LISP_STRING_TAG, LISP_INT_TAG_P): Simplify
now that USE_LSB_TAG is always defined.
(TYPEMASK, XINT) [USE_LSB_TAG]: Remove unnecessary cast.
(make_number) [!USE_LSB_TAG]: Use INTMASK; that's simpler.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 809fd2c22c7..e5e0c199026 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2012-06-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Simplify lisp.h in minor ways that should not affect code. | ||
| 4 | * lisp.h (USE_2_TAGS_FOR_INTS): Remove, as it was always defined. | ||
| 5 | (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P) | ||
| 6 | (LISP_INT1_TAG, enum Lisp_Type, XINT, XUINT, make_number): | ||
| 7 | Simplify under the assumption that USE_2_TAGS_FOR_INTS is defined. | ||
| 8 | (INTTYPEBITS): New macro, for clarity. | ||
| 9 | (INTMASK, MOST_POSITIVE_FIXNUM): Use it. | ||
| 10 | (LISP_INT1_TAG, LISP_STRING_TAG, LISP_INT_TAG_P): Simplify | ||
| 11 | now that USE_LSB_TAG is always defined. | ||
| 12 | (TYPEMASK, XINT) [USE_LSB_TAG]: Remove unnecessary cast. | ||
| 13 | (make_number) [!USE_LSB_TAG]: Use INTMASK; that's simpler. | ||
| 14 | |||
| 1 | 2012-06-13 Juanma Barranquero <lekktu@gmail.com> | 15 | 2012-06-13 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 16 | ||
| 3 | * makefile.w32-in ($(BLD)/data.$(O)): Update dependencies. | 17 | * makefile.w32-in ($(BLD)/data.$(O)): Update dependencies. |