[PATCH] ipa-inline.c cleanups

Josh Conner jconner@apple.com
Mon Jul 25 17:44:00 GMT 2005


On Jul 23, 2005, at 4:09 AM, Jan Hubicka wrote:

>> Attached are three patches that clean up small issues in ipa- 
>> inline.c.
>>
>> ...
>
> The patches are OK for mainline modulo Steven's 0/NULL comment.
> Thanks,
> Honza
>

Honza (and Steven) -

Thanks for the review!  I forgot to include a changelog entry with my  
patches (sorry).  Does this look ok?

- Josh

2005-07-25  Josh Conner <jconner@apple.com>

         * ipa-inline.c (cgraph_edge_badness): Update comments.   
Invert shift
         direction of badness if negative.
         (cgraph_default_inline_p): Add reason to parameters, and  
assign it
         a value.
         (cgraph_decide_inlining_of_small_functions): New parameter  
in call
         to cgraph_default_inline_p.
         (cgraph_decide_inlining_incrementally): Likewise.
         * cgraphunit.c (decide_is_function_needed): Likewise.
         * cgraph.h (cgraph_default_inline_p): Likewise.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: badness-comments.patch
Type: application/octet-stream
Size: 1049 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050725/91d86377/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nestshift.patch
Type: application/octet-stream
Size: 1096 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050725/91d86377/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: limit-notify.patch
Type: application/octet-stream
Size: 6836 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050725/91d86377/attachment-0002.obj>


More information about the Gcc-patches mailing list