diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-18 10:26:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-18 10:26:43 -0700 |
commit | d06714cb449d3eb3f58f4ed79053ca173db286fa (patch) | |
tree | f84b9eb183e4ac255840eb721747da7238fd9cb1 /lisp/emacs-lisp/bytecomp.el | |
parent | 5fbc0409ac3c51baf18d43b00ed00b56acc1c74b (diff) | |
download | emacs-d06714cb449d3eb3f58f4ed79053ca173db286fa.tar.gz emacs-d06714cb449d3eb3f58f4ed79053ca173db286fa.tar.bz2 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 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions