Make maybe_gc inline.
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 20 Jul 2012 13:14:58 +0000 (17:14 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 20 Jul 2012 13:14:58 +0000 (17:14 +0400)
commitdac616ff9f51b77e399a06863a79446958c4f840
treeed956a463f0efff837c7de4a9a61b31e2567d45a
parentbbf0e7d97893b9abfe6575a408f03e48543cb513
Make maybe_gc inline.
Verify that inlining is always possible (GCC 4.7.1, -O3 -Winline).
* lisp.h (consing_since_gc, gc_relative_threshold)
(memory_full_cons_threshold): Revert declaration.
(maybe_gc): Remove prototype, define as inline.
* alloc.c: Remove old commented-out code.
(consing_since_gc, gc_relative_threshold)
(memory_full_cons_threshold): Revert to global.
(maybe_gc): Remove.
src/ChangeLog
src/alloc.c
src/lisp.h