[tuples] Fixed inconsistent iterator interface
Christopher Matthews
chrismatthews@google.com
Tue Aug 7 22:50:00 GMT 2007
ops. Included some stuff from another patch I was working on. Here is an update
On 8/7/07, Christopher Matthews <chrismatthews@google.com> wrote:
> Some of the functions in the gimple statement iterator had struct
> arguments, others had pointer arguments. Changed them to all use
> pointers, and update all the (now much nicer looking) uses.
>
> Tested on gimple.exp, compile.exp, and libgcc.
>
> 2007-08-07 Chris Matthews <chrismatthews@google.com>
>
> * gimple_iterator.h (gsi_start): Changed to produce a pointer instead of
> struct. Updated clients.
> (gsi_last): Same.
> (gsi_end_p): Changed to operate on a pointer instead of struct. Updated
> clients.
> (gsi_one_before_end_p): Same.
> (gsi_next): Same.
> (gsi_prev): Same.
> (gsi_stmt): Same.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsi_ptrv1.diff
Type: text/x-patch
Size: 4897 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070807/5b82ab02/attachment.bin>
More information about the Gcc-patches
mailing list