Mercurial > emacs
changeset 64268:64b32564144f
(MAYBE_GC): Use gc_cons_combined_threshold.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 13 Jul 2005 05:29:10 +0000 |
parents | 5c7cbbd6dbb4 |
children | 2b2ad7fa1865 |
files | src/bytecode.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bytecode.c Wed Jul 13 05:28:37 2005 +0000 +++ b/src/bytecode.c Wed Jul 13 05:29:10 2005 +0000 @@ -355,13 +355,13 @@ /* Garbage collect if we have consed enough since the last time. We do this at every branch, to avoid loops that never GC. */ -#define MAYBE_GC() \ - if (consing_since_gc > gc_cons_threshold) \ - { \ - BEFORE_POTENTIAL_GC (); \ - Fgarbage_collect (); \ - AFTER_POTENTIAL_GC (); \ - } \ +#define MAYBE_GC() \ + if (consing_since_gc > gc_cons_combined_threshold) \ + { \ + BEFORE_POTENTIAL_GC (); \ + Fgarbage_collect (); \ + AFTER_POTENTIAL_GC (); \ + } \ else /* Check for jumping out of range. */