diff options
| author | Stefan Monnier | 2012-07-04 10:38:02 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-07-04 10:38:02 -0400 |
| commit | ee28be33a535e41c74f3a4d5c0f3878e44366942 (patch) | |
| tree | aea01076d95159b7559ec34cd47acd9245f46a7b /src/ChangeLog | |
| parent | 1a9746debdc8965edd84d27537ef9c55511ea04e (diff) | |
| download | emacs-ee28be33a535e41c74f3a4d5c0f3878e44366942.tar.gz emacs-ee28be33a535e41c74f3a4d5c0f3878e44366942.zip | |
Turn VECTOR_FREE_LIST_FLAG into PVEC_FREE.
* src/lisp.h (enum pvec_type): Use fewer bits.
(PSEUDOVECTOR_SIZE_BITS): New constant.
(PSEUDOVECTOR_SIZE_MASK, PVEC_TYPE_MASK): Use it.
(XSETPVECTYPESIZE, XSETTYPED_PSEUDOVECTOR, DEFUN): Adapt code to
change in pvec_type.
(PSEUDOVECTOR_TYPEP): New macro.
(TYPED_PSEUDOVECTORP): Use it.
* src/fns.c (internal_equal): Adapt code to extract pvectype.
* src/emacs.c (gdb_pvec_type): Update type.
* src/alloc.c (PSEUDOVECTOR_NBYTES): New macro.
(VECTOR_FREE_LIST_SIZE_MASK): Remove (=> PSEUDOVECTOR_SIZE_MASK).
(VECTOR_FREE_LIST_FLAG): Remove (=> PVEC_FREE).
(SETUP_ON_FREE_LIST): Use XSETPVECTYPESIZE.
(sweep_vectors): Use it. Use local var `total_bytes' instead of
abusing vector->header.next.nbytes.
(live_vector_p): Use PVEC_TYPE.
(mark_object): Adapt code to extract pvectype. Use switch.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a600a0b2b6f..70f7fedf5ad 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | Turn VECTOR_FREE_LIST_FLAG into PVEC_FREE. | ||
| 4 | * lisp.h (enum pvec_type): Use fewer bits. | ||
| 5 | (PSEUDOVECTOR_SIZE_BITS): New constant. | ||
| 6 | (PSEUDOVECTOR_SIZE_MASK, PVEC_TYPE_MASK): Use it. | ||
| 7 | (XSETPVECTYPESIZE, XSETTYPED_PSEUDOVECTOR, DEFUN): Adapt code to | ||
| 8 | change in pvec_type. | ||
| 9 | (PSEUDOVECTOR_TYPEP): New macro. | ||
| 10 | (TYPED_PSEUDOVECTORP): Use it. | ||
| 11 | * fns.c (internal_equal): Adapt code to extract pvectype. | ||
| 12 | * emacs.c (gdb_pvec_type): Update type. | ||
| 13 | * alloc.c (PSEUDOVECTOR_NBYTES): New macro. | ||
| 14 | (VECTOR_FREE_LIST_SIZE_MASK): Remove (=> PSEUDOVECTOR_SIZE_MASK). | ||
| 15 | (VECTOR_FREE_LIST_FLAG): Remove (=> PVEC_FREE). | ||
| 16 | (SETUP_ON_FREE_LIST): Use XSETPVECTYPESIZE. | ||
| 17 | (sweep_vectors): Use it. Use local var `total_bytes' instead of | ||
| 18 | abusing vector->header.next.nbytes. | ||
| 19 | (live_vector_p): Use PVEC_TYPE. | ||
| 20 | (mark_object): Adapt code to extract pvectype. Use switch. | ||
| 21 | |||
| 1 | 2012-07-04 Paul Eggert <eggert@cs.ucla.edu> | 22 | 2012-07-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 23 | ||
| 3 | * doprnt.c (doprnt): Don't assume string length fits in 'int'. | 24 | * doprnt.c (doprnt): Don't assume string length fits in 'int'. |