diff options
| author | Kenichi Handa | 2011-07-07 08:28:00 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2011-07-07 08:28:00 +0900 |
| commit | d2a0a50628933d3cdb09818eee2e17f55e22531f (patch) | |
| tree | d19c8e71eb63eb6ccd204c2f36f406e4cf853154 /src/alloc.c | |
| parent | c805dec0b5fa81b5c9f2b724e2ec12a17d723aca (diff) | |
| parent | 354cf0ba0b20108c9776be1d868458893bc2cd54 (diff) | |
| download | emacs-d2a0a50628933d3cdb09818eee2e17f55e22531f.tar.gz emacs-d2a0a50628933d3cdb09818eee2e17f55e22531f.zip | |
merge trunk
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/alloc.c b/src/alloc.c index 69623d103c3..f679787e95c 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5619,7 +5619,8 @@ mark_buffer (Lisp_Object buf) | |||
| 5619 | /* buffer-local Lisp variables start at `undo_list', | 5619 | /* buffer-local Lisp variables start at `undo_list', |
| 5620 | tho only the ones from `name' on are GC'd normally. */ | 5620 | tho only the ones from `name' on are GC'd normally. */ |
| 5621 | for (ptr = &buffer->BUFFER_INTERNAL_FIELD (name); | 5621 | for (ptr = &buffer->BUFFER_INTERNAL_FIELD (name); |
| 5622 | (char *)ptr < (char *)buffer + sizeof (struct buffer); | 5622 | ptr <= &PER_BUFFER_VALUE (buffer, |
| 5623 | PER_BUFFER_VAR_OFFSET (LAST_FIELD_PER_BUFFER)); | ||
| 5623 | ptr++) | 5624 | ptr++) |
| 5624 | mark_object (*ptr); | 5625 | mark_object (*ptr); |
| 5625 | 5626 | ||
| @@ -6251,8 +6252,7 @@ do hash-consing of the objects allocated to pure space. */); | |||
| 6251 | DEFVAR_LISP ("post-gc-hook", Vpost_gc_hook, | 6252 | DEFVAR_LISP ("post-gc-hook", Vpost_gc_hook, |
| 6252 | doc: /* Hook run after garbage collection has finished. */); | 6253 | doc: /* Hook run after garbage collection has finished. */); |
| 6253 | Vpost_gc_hook = Qnil; | 6254 | Vpost_gc_hook = Qnil; |
| 6254 | Qpost_gc_hook = intern_c_string ("post-gc-hook"); | 6255 | DEFSYM (Qpost_gc_hook, "post-gc-hook"); |
| 6255 | staticpro (&Qpost_gc_hook); | ||
| 6256 | 6256 | ||
| 6257 | DEFVAR_LISP ("memory-signal-data", Vmemory_signal_data, | 6257 | DEFVAR_LISP ("memory-signal-data", Vmemory_signal_data, |
| 6258 | doc: /* Precomputed `signal' argument for memory-full error. */); | 6258 | doc: /* Precomputed `signal' argument for memory-full error. */); |
| @@ -6266,11 +6266,8 @@ do hash-consing of the objects allocated to pure space. */); | |||
| 6266 | doc: /* Non-nil means Emacs cannot get much more Lisp memory. */); | 6266 | doc: /* Non-nil means Emacs cannot get much more Lisp memory. */); |
| 6267 | Vmemory_full = Qnil; | 6267 | Vmemory_full = Qnil; |
| 6268 | 6268 | ||
| 6269 | staticpro (&Qgc_cons_threshold); | 6269 | DEFSYM (Qgc_cons_threshold, "gc-cons-threshold"); |
| 6270 | Qgc_cons_threshold = intern_c_string ("gc-cons-threshold"); | 6270 | DEFSYM (Qchar_table_extra_slots, "char-table-extra-slots"); |
| 6271 | |||
| 6272 | staticpro (&Qchar_table_extra_slots); | ||
| 6273 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); | ||
| 6274 | 6271 | ||
| 6275 | DEFVAR_LISP ("gc-elapsed", Vgc_elapsed, | 6272 | DEFVAR_LISP ("gc-elapsed", Vgc_elapsed, |
| 6276 | doc: /* Accumulated time elapsed in garbage collections. | 6273 | doc: /* Accumulated time elapsed in garbage collections. |