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]

Re: bug & patch for loop.c:maybe_eliminate_biv_1


Denis Chertykov writes:
 > Only one question.
 > 
 > Why all your "loop_insn_emit.*" function not named as
 > "loop_emit_insn.*" as simple "emit_insn.*" functions.

Oh, a couple of reasons.  Primarily, I find noun-verb naming more
consistent.  In addition, since the new functions have different
parameters I find it helps to remind me.  

In an earlier incantation of these patches I used the names
loop_pattern_emit but thought I was being too pedantic.

Michael.



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