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


Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> writes:

>> 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?

zw


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