diff options
| author | Paul Eggert | 2015-01-19 00:56:18 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-19 01:01:58 -0800 |
| commit | b7f83adda5a32140811e8e7decc4394d64cada3d (patch) | |
| tree | 98d7d6763a62fc033464e4f2d5edde5c937623dd /src/ChangeLog | |
| parent | 9592a014df784e67a4647d5b6424f2758dfaad3c (diff) | |
| download | emacs-b7f83adda5a32140811e8e7decc4394d64cada3d.tar.gz emacs-b7f83adda5a32140811e8e7decc4394d64cada3d.zip | |
Prefer memset to repeatedly assigning Qnil
* alloc.c (allocate_pseudovector): Catch more bogus values.
* alloc.c (allocate_pseudovector):
* callint.c (Fcall_interactively):
* coding.c (syms_of_coding):
* fringe.c (init_fringe):
Verify that Qnil == 0.
* callint.c (Fcall_interactively):
* eval.c (Fapply, Ffuncall):
* fns.c (mapcar1, larger_vector):
* font.c (font_expand_wildcards):
* fringe.c (init_fringe):
Prefer memset to assigning zeros by hand.
* callint.c (Fcall_interactively):
Remove duplicate assignment of Qnil to args[i].
* coding.c (syms_of_coding):
Prefer LISP_INITIALLY_ZERO to assigning zeros by hand.
* fileio.c (Ffile_selinux_context):
Rewrite to avoid need for Lisp_Object array.
* lisp.h (XLI_BUILTIN_LISPSYM): New macro.
(DEFINE_LISP_SYMBOL_END): Use it.
(NIL_IS_ZERO): New constant.
(memsetnil): New function.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 16e2fa19626..04b952cae60 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,29 @@ | |||
| 1 | 2015-01-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Prefer memset to repeatedly assigning Qnil | ||
| 4 | * alloc.c (allocate_pseudovector): Catch more bogus values. | ||
| 5 | * alloc.c (allocate_pseudovector): | ||
| 6 | * callint.c (Fcall_interactively): | ||
| 7 | * coding.c (syms_of_coding): | ||
| 8 | * fringe.c (init_fringe): | ||
| 9 | Verify that Qnil == 0. | ||
| 10 | * callint.c (Fcall_interactively): | ||
| 11 | * eval.c (Fapply, Ffuncall): | ||
| 12 | * fns.c (mapcar1, larger_vector): | ||
| 13 | * font.c (font_expand_wildcards): | ||
| 14 | * fringe.c (init_fringe): | ||
| 15 | Prefer memset to assigning zeros by hand. | ||
| 16 | * callint.c (Fcall_interactively): | ||
| 17 | Remove duplicate assignment of Qnil to args[i]. | ||
| 18 | * coding.c (syms_of_coding): | ||
| 19 | Prefer LISP_INITIALLY_ZERO to assigning zeros by hand. | ||
| 20 | * fileio.c (Ffile_selinux_context): | ||
| 21 | Rewrite to avoid need for Lisp_Object array. | ||
| 22 | * lisp.h (XLI_BUILTIN_LISPSYM): New macro. | ||
| 23 | (DEFINE_LISP_SYMBOL_END): Use it. | ||
| 24 | (NIL_IS_ZERO): New constant. | ||
| 25 | (memsetnil): New function. | ||
| 26 | |||
| 1 | 2015-01-16 Dmitry Antipov <dmantipov@yandex.ru> | 27 | 2015-01-16 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 28 | ||
| 3 | Tune pseudovector allocation assuming Qnil == 0. | 29 | Tune pseudovector allocation assuming Qnil == 0. |