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] Statement operand iterators


Hello,

> >> I think you could achieve this by moving the bulk of the macros into
> >> oi_init and oi_next (which are inline, so there should be no
> >> performance hit).  
> >
> > unfortunately this cannot be done; the performance penalty for having to
> > decide which type of operands you are accessing is too high (see the
> > previous incarnation of the patch that avoided the use of macros
> > completely).
> 
> Were the iterator functions inline in that patch?

of course.  The patch I refer to is
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01939.html.

Zdenek


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