Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7914961c
Commit
7914961c
authored
Mar 16, 2011
by
Paul Eggert
Browse files
* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".
parent
73366a00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/bytecode.c
src/bytecode.c
+2
-1
No files found.
src/ChangeLog
View file @
7914961c
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
src/bytecode.c
View file @
7914961c
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment