comparison src/alloc.c @ 109901:5a7d60b243f4

Remove unused variables malloc_sbrk_used and malloc_sbrk_unused. * src/alloc.c (malloc_sbrk_used, malloc_sbrk_unused): Remove, write only. (init_alloc_once): Remove writes to malloc_sbrk_unused, and malloc_sbrk_used, nothing uses them.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 20 Aug 2010 16:02:11 -0700
parents 0781924c2a38
children 5290c80fda43
comparison
equal deleted inserted replaced
109900:256885bda0af 109901:5a7d60b243f4
211 int abort_on_gc; 211 int abort_on_gc;
212 212
213 /* Nonzero means display messages at beginning and end of GC. */ 213 /* Nonzero means display messages at beginning and end of GC. */
214 214
215 int garbage_collection_messages; 215 int garbage_collection_messages;
216
217 #ifndef VIRT_ADDR_VARIES
218 extern
219 #endif /* VIRT_ADDR_VARIES */
220 int malloc_sbrk_used;
221
222 #ifndef VIRT_ADDR_VARIES
223 extern
224 #endif /* VIRT_ADDR_VARIES */
225 int malloc_sbrk_unused;
226 216
227 /* Number of live and free conses etc. */ 217 /* Number of live and free conses etc. */
228 218
229 static int total_conses, total_markers, total_symbols, total_vector_size; 219 static int total_conses, total_markers, total_symbols, total_vector_size;
230 static int total_free_conses, total_free_markers, total_free_symbols; 220 static int total_free_conses, total_free_markers, total_free_symbols;
6176 byte_stack_list = 0; 6166 byte_stack_list = 0;
6177 staticidx = 0; 6167 staticidx = 0;
6178 consing_since_gc = 0; 6168 consing_since_gc = 0;
6179 gc_cons_threshold = 100000 * sizeof (Lisp_Object); 6169 gc_cons_threshold = 100000 * sizeof (Lisp_Object);
6180 gc_relative_threshold = 0; 6170 gc_relative_threshold = 0;
6181
6182 #ifdef VIRT_ADDR_VARIES
6183 malloc_sbrk_unused = 1<<22; /* A large number */
6184 malloc_sbrk_used = 100000; /* as reasonable as any number */
6185 #endif /* VIRT_ADDR_VARIES */
6186 } 6171 }
6187 6172
6188 void 6173 void
6189 init_alloc (void) 6174 init_alloc (void)
6190 { 6175 {