* alloc.c (USE_VALGRIND): New macro; on by default
when ENABLE_CHECKING.
- (mark_maybe_object,mark_maybe_pointer)
+ (mark_maybe_object, mark_maybe_pointer)
[USE_VALGRIND]: Mark conservatively-scanned regions valid for
valgrind purposes.
(valgrind_p) [USE_VALGRIND]: New variable.
2013-09-22 Daniel Colascione <dancol@dancol.org>
* data.c (Qbool_vector_p): New symbol.
- (bool_vector_spare_mask,popcount_size_t_generic)
- (popcount_size_t_msc,popcount_size_t_gcc)
+ (bool_vector_spare_mask, popcount_size_t_generic)
+ (popcount_size_t_msc, popcount_size_t_gcc)
(popcount_size_t)
(bool_vector_binop_driver)
- (count_trailing_zero_bits,size_t_to_host_endian)
+ (count_trailing_zero_bits, size_t_to_host_endian)
(Fbool_vector_exclusive_or)
(Fbool_vector_union)
- (Fbool_vector_intersection,Fbool_vector_set_difference)
- (Fbool_vector_subsetp,Fbool_vector_not)
+ (Fbool_vector_intersection, Fbool_vector_set_difference)
+ (Fbool_vector_subsetp, Fbool_vector_not)
(Fbool_vector_count_matches)
(Fbool_vector_count_matches_at): New functions.
(syms_of_data): Intern new symbol, functions.
which performs redundant initialization and argument checking,
just call allocate_vector ourselves. Make sure we clear any
terminating padding to zero.
- (vector_nbytes,sweep_vectors): Use bool_vector_payload_bytes
+ (vector_nbytes, sweep_vectors): Use bool_vector_payload_bytes
instead of open-coding the size calculation.
(vroundup_ct): New macro.
(vroundup): Assume argument >= 0; invoke vroundup_ct.
- * casetab.c (shuffle,set_identity): Change lint_assume to assume.
+ * casetab.c (shuffle, set_identity): Change lint_assume to assume.
* composite.c (composition_gstring_put_cache):
Change lint_assume to assume.
* conf_post.h (assume): New macro.
* image.c (gif_load): Change lint_assume to assume.
* lisp.h (eassert_and_assume): New macro.
(Qbool_vector_p): Declare.
- (CHECK_BOOL_VECTOR,ROUNDUP,BITS_PER_SIZE_T): New macros.
- (swap16,swap32,swap64): New inline functions.
+ (CHECK_BOOL_VECTOR, ROUNDUP, BITS_PER_SIZE_T): New macros.
+ (swap16, swap32, swap64): New inline functions.
* macfont.c (macfont_shape): Change lint_assume to assume.
* ralloc.c: Rename ROUNDUP to PAGE_ROUNDUP throughout.
* xsettings.c (parse_settings): Use new swap16 and
in update_window_end_hook and draw_window_cursor functions.
(display_and_set_cursor, x_update_cursor): Adjust prototypes.
* nsterm.m (ns_update_window_end, ns_draw_window_cursor):
- * w32term.c (x_update_window_end,w32_draw_window_cursor):
+ * w32term.c (x_update_window_end, w32_draw_window_cursor):
* xterm.c (x_update_window_end, x_draw_window_cursor):
* xdisp.c (display_and_set_cursor, update_window_cursor)
(update_cursor_in_window_tree, x_update_cursor): Use bool and
* automated/data-test.el:
(bool-vector-count-matches-all-0-nil)
(bool-vector-count-matches-all-0-t)
- (bool-vector-count-matches-1-il,bool-vector-count-matches-1-t)
- (bool-vector-count-matches-at,bool-vector-intersection-op)
- (bool-vector-union-op,bool-vector-xor-op)
+ (bool-vector-count-matches-1-il, bool-vector-count-matches-1-t)
+ (bool-vector-count-matches-at, bool-vector-intersection-op)
+ (bool-vector-union-op, bool-vector-xor-op)
(bool-vector-set-difference-op)
- (bool-vector-change-detection,bool-vector-not): New tests.
+ (bool-vector-change-detection, bool-vector-not): New tests.
(mock-bool-vector-count-matches-at)
(test-bool-vector-bv-from-hex-string)
(test-bool-vector-to-hex-string)