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: [docs patch]: Remove obsolete section in tree-ssa.texi, add V_MUST_DEFiterator


Daniel Berlin wrote:

The problem is that they currently also require the other macros.
If we really want to keep them, they should be modified to work on the
statement, and hide how they are getting the number from the user :)

That's exactly what I'm suggesting. Convert NUM_* into a proper function and hide all the other macros inside tree-ssa-operands.c. Export only NUM_* (or rename it to a lower case name).


Diego.



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