From 642cd12be9a51258f6dc1457451ec7bfd61b6899 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 13 Jul 2005 05:29:10 +0000 Subject: [PATCH] (MAYBE_GC): Use gc_cons_combined_threshold. --- src/bytecode.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/bytecode.c b/src/bytecode.c index 73b8f60a1a8..ee89e9e8d7b 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -355,13 +355,13 @@ unmark_byte_stack () /* 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. */ -- 2.39.5