Simplify lisp.h in minor ways that should not affect code.
commit2b5701247845a07e4a279abc8c3acaf75cbc8a1b
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jun 2012 02:27:39 +0000 (13 19:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jun 2012 02:27:39 +0000 (13 19:27 -0700)
tree245bcf84a0d69c249810e0f400e5a97949b6721d
parent81755f695c081ac5eb4e7250ebfbe39e5ffd6a11
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.
src/ChangeLog
src/lisp.h