Commit 7914961c authored by Paul Eggert's avatar Paul Eggert

* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".

parent 73366a00
2011-03-17 Paul Eggert <eggert@cs.ucla.edu>
* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".
* unexelf.c (unexec): Name an expression,
to avoid gcc -Wbad-function-cast warning.
Use a different way to cause a compilation error if anyone uses
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment