summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-16 19:11:29 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-16 19:11:29 -0700
commit7914961cd705c8a88734ff87c581924bf48c3fe3 (patch)
treec710dace8073f85cf19abb4fae9b8d74a4e7bfb3 /src/bytecode.c
parent73366a004b663bed19b9bc9b83e8843c836db83f (diff)
downloademacs-7914961cd705c8a88734ff87c581924bf48c3fe3.tar.gz
* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index bb4e87c019d..fca8a8e1ebe 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -363,6 +363,7 @@ unmark_byte_stack (void)
We do this at every branch, to avoid loops that never GC. */
#define MAYBE_GC() \
+ do { \
if (consing_since_gc > gc_cons_threshold \
&& consing_since_gc > gc_relative_threshold) \
{ \
@@ -370,7 +371,7 @@ unmark_byte_stack (void)
Fgarbage_collect (); \
AFTER_POTENTIAL_GC (); \
} \
- else
+ } while (0)
/* Check for jumping out of range. */