IPCP cleanups to tree-profiling-branch

Steven Bosscher stevenb@suse.de
Wed May 25 09:27:00 GMT 2005


On Wednesday 25 May 2005 10:24, Razya Ladelsky wrote:
> Hello,
>
> Attached are several cleanups to ipcp code.
>
> Main changes include:
> -  Removing ipa_method and ipa_callsite typedefs, using cgraph_node *  and
> cgraph_edge * instead.
> -  Hiding access to aux field of cgraph_node and cgraph_edge by
> IPA_NODE_REF, IPA_EDGE_REF macros.
> -  Remove redundant walk_tree, use ADDRESSABLE to check if a parameter's
> address is taken.
> There's also elimination of redundant code and some coding style fixes.


diff -c -3 -p -r1.1.2.1 ipcp.c
*** ipcp.c	22 May 2005 11:18:29 -0000	1.1.2.1
--- ipcp.c	24 May 2005 18:39:31 -0000
***************
*** 1,129 ****
  /* Interprocedural constant propagation
     Copyright (C) 2005 Free Software Foundation, Inc.
     Contributed by Razya Ladelsky <RAZYA@il.ibm.com>
! 
! This file is part of GCC.
! 
! GCC is free software; you can redistribute it and/or modify it under
! the terms of the GNU General Public License as published by the Free
...
--- 1,129 ----
  /* Interprocedural constant propagation
     Copyright (C) 2005 Free Software Foundation, Inc.
     Contributed by Razya Ladelsky <RAZYA@il.ibm.com>
!    
!    This file is part of GCC.
!    
!    GCC is free software; you can redistribute it and/or modify it under
!    the terms of the GNU General Public License as published by the Free

This is unnecessary re-indentation.  Look at other files to see what the
file header should look like.

Otherwise, nice cleanup.  This is OK if you fix that file header.

Gr.
Steven



More information about the Gcc-patches mailing list