Here is a final patch with fixed commentary.

2013/9/16 Uros Bizjak <ubiz...@gmail.com>:
> On Mon, Sep 16, 2013 at 5:01 PM, Yuri Rumyantsev <ysrum...@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



Reply via email to