This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Little ggc-common cleanup


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]