[PATCH] Little ggc-common cleanup
Richard Guenther
richard.guenther@gmail.com
Tue May 25 08:47:00 GMT 2010
On Tue, May 25, 2010 at 7:10 AM, Laurynas Biveinis
<laurynas.biveinis@gmail.com> wrote:
> Broken out of main gc-improv merge patchset:
>
> In ggc-common.c, init_ggc_heuristics () calls ggc_min_expand_heuristic
> () and ggc_min_heapsize_heuristic () only if !defined
> ENABLE_GC_CHECKING && !defined ENABLE_GC_ALWAYS_COLLECT. Thus compile
> these functions under the same condition and make them static.
>
> Bootstrapped/regtested with the rest of gc-improv on x86_64-linux.
>
> OK for trunk?
Ok.
Thanks,
Richard.
> 2010-05-24 Laurynas Biveinis <laurynas.biveinis@gmail.com>
>
> * ggc-common.c: Update copyright year.
> (ggc_rlimit_bound): Remove prototype. Compile only if
> !ENABLE_GC_CHECKING && !ENABLE_GC_ALWAYS_COLLECT.
> (ggc_min_heapsize_heuristic): Compile only if !ENABLE_GC_CHECKING
> && !ENABLE_GC_ALWAYS_COLLECT. Make static.
> (ggc_min_heapsize_heuristic): Likewise.
>
> --
> Laurynas
>
More information about the Gcc-patches
mailing list