aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDmitry Antipov2014-09-09 07:44:06 +0400
committerDmitry Antipov2014-09-09 07:44:06 +0400
commitc7dfea947eba1980fe3a23ad13f04dd40c6c0d68 (patch)
tree3927b309d9773c54a06d7590e0dd6017a8c3bfc8 /src/ChangeLog
parent80465f41d7fc67d40f0a233504e295b127ad2c6b (diff)
downloademacs-c7dfea947eba1980fe3a23ad13f04dd40c6c0d68.tar.gz
emacs-c7dfea947eba1980fe3a23ad13f04dd40c6c0d68.zip
Add macros to allocate temporary Lisp objects with alloca.
Respect MAX_ALLOCA and fall back to regular GC for large objects. * character.h (parse_str_as_multibyte): Move prototype to ... * lisp.h (parse_str_as_multibyte): ... here. (struct Lisp_Cons): Add GCALIGNED attribute if supported. (scoped_cons, scoped_list2, build_local_vector, build_local_string): New macros. (scoped_cons_init, pointer_valid_for_lisp_object, local_vector_init) (local_string_init): New functions. * alloc.c (verify_alloca) [ENABLE_CHECKING]: New function. (init_alloc_once): Call it.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a01c753161c..d1e8314b172 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,6 +5,18 @@
5 (x_delete_terminal): Do not close X connection fd (Bug#18403). 5 (x_delete_terminal): Do not close X connection fd (Bug#18403).
6 Add eassert and mark dpyinfo as dead only if it was alive. 6 Add eassert and mark dpyinfo as dead only if it was alive.
7 7
8 Add macros to allocate temporary Lisp objects with alloca.
9 Respect MAX_ALLOCA and fall back to regular GC for large objects.
10 * character.h (parse_str_as_multibyte): Move prototype to ...
11 * lisp.h (parse_str_as_multibyte): ... here.
12 (struct Lisp_Cons): Add GCALIGNED attribute if supported.
13 (scoped_cons, scoped_list2, build_local_vector, build_local_string):
14 New macros.
15 (scoped_cons_init, pointer_valid_for_lisp_object, local_vector_init)
16 (local_string_init): New functions.
17 * alloc.c (verify_alloca) [ENABLE_CHECKING]: New function.
18 (init_alloc_once): Call it.
19
82014-09-08 Eli Zaretskii <eliz@gnu.org> 202014-09-08 Eli Zaretskii <eliz@gnu.org>
9 21
10 * dispnew.c (prepare_desired_row): When MODE_LINE_P is zero, 22 * dispnew.c (prepare_desired_row): When MODE_LINE_P is zero,