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] |
Here is a final patch with fixed commentary. 2013/9/16 Uros Bizjak <ubizjak@gmail.com>: > On Mon, Sep 16, 2013 at 5:01 PM, Yuri Rumyantsev <ysrumyan@gmail.com> wrote: > >> Does this comment looks good to you: >> >> if (start != NULL_RTX) >> { >> bb = BLOCK_FOR_INSN (start); >> if (start != BB_HEAD (bb)) >> /* Initialize prev to insn if insn and start belong to the same bb; >> in this case increase_distance can increment distance to 1. */ >> prev = insn; > > I'd say something in the lines of: > > If insn and start belong to the same bb, set prev to insn, so the call > to increase_distance will increase the distance between insns by 1. > > Best regards, > Uros.
Attachment:
fixed_patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |