HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c4587f
)
* src/lisp.h: Always enable USE_LSB_TAG.
author
BT Templeton
<bpt@hcoop.net>
Sat, 16 Jun 2012 15:26:57 +0000
(11:26 -0400)
committer
Robin Templeton
<robin@terpri.org>
Sat, 18 Apr 2015 22:48:55 +0000
(18:48 -0400)
src/lisp.h
patch
|
blob
|
blame
|
history
diff --git
a/src/lisp.h
b/src/lisp.h
index
fb832b8
..
fc7baf2
100644
(file)
--- a/
src/lisp.h
+++ b/
src/lisp.h
@@
-275,21
+275,10
@@
enum Lisp_Bits
This can be used in #if, e.g., '#if VAL_MAX < UINTPTR_MAX' below. */
#define VAL_MAX (EMACS_INT_MAX >> (GCTYPEBITS - 1))
This can be used in #if, e.g., '#if VAL_MAX < UINTPTR_MAX' below. */
#define VAL_MAX (EMACS_INT_MAX >> (GCTYPEBITS - 1))
-/* Whether the least-significant bits of an EMACS_INT contain the tag.
- On hosts where pointers-as-ints do not exceed VAL_MAX, USE_LSB_TAG is:
- a. unnecessary, because the top bits of an EMACS_INT are unused, and
- b. slower, because it typically requires extra masking.
- So, USE_LSB_TAG is true only on hosts where it might be useful. */
DEFINE_GDB_SYMBOL_BEGIN (bool, USE_LSB_TAG)
DEFINE_GDB_SYMBOL_BEGIN (bool, USE_LSB_TAG)
-#define USE_LSB_TAG
(EMACS_INT_MAX >> GCTYPEBITS < INTPTR_MAX)
+#define USE_LSB_TAG
1
DEFINE_GDB_SYMBOL_END (USE_LSB_TAG)
DEFINE_GDB_SYMBOL_END (USE_LSB_TAG)
-#if !USE_LSB_TAG && !defined WIDE_EMACS_INT
-# error "USE_LSB_TAG not supported on this platform; please report this." \
- "Try 'configure --with-wide-int' to work around the problem."
-error !;
-#endif
-
#ifndef alignas
# define alignas(alignment) /* empty */
# if USE_LSB_TAG
#ifndef alignas
# define alignas(alignment) /* empty */
# if USE_LSB_TAG
@@
-297,7
+286,6
@@
error !;
# endif
#endif
# endif
#endif
-
/* Some operations are so commonly executed that they are implemented
as macros, not functions, because otherwise runtime performance would
suffer too much when compiling with GCC without optimization.
/* Some operations are so commonly executed that they are implemented
as macros, not functions, because otherwise runtime performance would
suffer too much when compiling with GCC without optimization.