diff options
| author | Paul Eggert | 2012-08-02 03:49:19 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-02 03:49:19 -0700 |
| commit | a8333d0357ae39595ff60a4c73e1420504c26376 (patch) | |
| tree | 77eca8791d791c9ff502f51c9e6d66ce55067872 /src | |
| parent | d78442215288f97ab32bbb332874a58a201f9a38 (diff) | |
| download | emacs-a8333d0357ae39595ff60a4c73e1420504c26376.tar.gz emacs-a8333d0357ae39595ff60a4c73e1420504c26376.zip | |
* lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
as well as a constant, since it's used in non-static inline functions now.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/lisp.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f65380abf33..c590e9fb32f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | (INLINE_HEADER_END): New macros. | 30 | (INLINE_HEADER_END): New macros. |
| 31 | * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant, | 31 | * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant, |
| 32 | since it's used in non-static inline functions now. | 32 | since it's used in non-static inline functions now. |
| 33 | (VALMASK) [!USE_LSB_TAG]: Likewise. | ||
| 33 | 34 | ||
| 34 | 2012-08-02 Glenn Morris <rgm@gnu.org> | 35 | 2012-08-02 Glenn Morris <rgm@gnu.org> |
| 35 | 36 | ||
diff --git a/src/lisp.h b/src/lisp.h index 1661ac1caa0..4b54af9fe43 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -423,7 +423,9 @@ enum lsb_bits | |||
| 423 | 423 | ||
| 424 | #else /* not USE_LSB_TAG */ | 424 | #else /* not USE_LSB_TAG */ |
| 425 | 425 | ||
| 426 | static EMACS_INT const VALMASK = VAL_MAX; | 426 | static EMACS_INT const VALMASK |
| 427 | #define VALMASK VAL_MAX | ||
| 428 | = VALMASK; | ||
| 427 | 429 | ||
| 428 | #define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS)) | 430 | #define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS)) |
| 429 | 431 | ||