diff options
| author | Paul Eggert | 2012-07-18 10:26:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-18 10:26:43 -0700 |
| commit | d06714cb449d3eb3f58f4ed79053ca173db286fa (patch) | |
| tree | f84b9eb183e4ac255840eb721747da7238fd9cb1 /src/ChangeLog | |
| parent | 5fbc0409ac3c51baf18d43b00ed00b56acc1c74b (diff) | |
| download | emacs-d06714cb449d3eb3f58f4ed79053ca173db286fa.tar.gz emacs-d06714cb449d3eb3f58f4ed79053ca173db286fa.zip | |
Remove some struct layout assumptions in bool vectors.
* alloc.c (bool_header_size): New constant.
(header_size, word_size): Move earlier, as they're now used earlier.
Use 'word_size' in a few more places, where it's appropriate.
(Fmake_bool_vector, sweep_vectors): Don't assume that there is no
padding before the data member of a bool vector.
(sweep_vectors): Use PSEUDOVECTOR_TYPEP, in an eassert, rather
than doing the check by hand with an abort ().
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b7e6b5b5fce..3f12159d169 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2012-07-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Remove some struct layout assumptions in bool vectors. | ||
| 4 | * alloc.c (bool_header_size): New constant. | ||
| 5 | (header_size, word_size): Move earlier, as they're now used earlier. | ||
| 6 | Use 'word_size' in a few more places, where it's appropriate. | ||
| 7 | (Fmake_bool_vector, sweep_vectors): Don't assume that there is no | ||
| 8 | padding before the data member of a bool vector. | ||
| 9 | (sweep_vectors): Use PSEUDOVECTOR_TYPEP, in an eassert, rather | ||
| 10 | than doing the check by hand with an abort (). | ||
| 11 | |||
| 1 | 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca> | 12 | 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 13 | ||
| 3 | * eval.c (Fdefvar): Don't check constants since we only set the var if | 14 | * eval.c (Fdefvar): Don't check constants since we only set the var if |