aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2009-11-06 18:47:48 +0000
committerStefan Monnier2009-11-06 18:47:48 +0000
commit2de9f71c22f9def6adaa6782eea25bc569cb8561 (patch)
tree399507700b025f007803c590ef825f5eea3f989d /src/ChangeLog
parent7ac65b38938cdee2916350bc0b16f21a00dca444 (diff)
downloademacs-2de9f71c22f9def6adaa6782eea25bc569cb8561.tar.gz
emacs-2de9f71c22f9def6adaa6782eea25bc569cb8561.zip
Let integers use up 2 tags to give them one extra bit and double their range.
* lisp.h (USE_2_TAGS_FOR_INTS): New macro. (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros. (enum Lisp_Type): Use them. Give explicit values. (Lisp_Type_Limit): Remove. (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]: (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK): Pay attention to USE_2_TAGS_FOR_INTS. (INTEGERP): Use LISP_INT_TAG_P. * fns.c (internal_equal): Simplify the default case. (sxhash): Use case_Lisp_Int. * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more. (Ftype_of): Use case_Lisp_Int. (store_symval_forwarding): Take into account the fact that Ints can now have more than one tag. * buffer.c (syms_of_buffer): Use LISP_INT_TAG. buffer_slot_type_mismatch): * xfaces.c (face_attr_equal_p): * print.c (print_object): * alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 80e772d9424..0bd5d838c58 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,31 @@
12009-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Let integers use up 2 tags to give them one extra bit and thus double
4 their range.
5 * lisp.h (USE_2_TAGS_FOR_INTS): New macro.
6 (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P):
7 New macros.
8 (enum Lisp_Type): Use them. Give explicit values.
9 (Lisp_Type_Limit): Remove.
10 (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]:
11 (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK):
12 Pay attention to USE_2_TAGS_FOR_INTS.
13 (INTEGERP): Use LISP_INT_TAG_P.
14 * fns.c (internal_equal): Simplify the default case.
15 (sxhash): Use case_Lisp_Int.
16 * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit
17 any more.
18 (Ftype_of): Use case_Lisp_Int.
19 (store_symval_forwarding): Take into account the fact that Ints can
20 now have more than one tag.
21 * buffer.c (syms_of_buffer): Use LISP_INT_TAG.
22 buffer_slot_type_mismatch):
23 * xfaces.c (face_attr_equal_p):
24 * print.c (print_object):
25 * alloc.c (mark_maybe_object, mark_object, survives_gc_p):
26 Use case_Lisp_Int.
27
28
12009-11-06 Eli Zaretskii <eliz@gnu.org> 292009-11-06 Eli Zaretskii <eliz@gnu.org>
2 30
3 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce by further 30K. 31 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce by further 30K.