[lra] Comment typo fix

Submitted by Steven Bosscher on Oct. 1, 2012, 10:09 p.m.

Details

Message ID CABu31nMSFxbH-ucxsc5yURfej8wKzL=s4kkG6usvefkgmaOAEA@mail.gmail.com
State New
Headers show

Commit Message

Steven Bosscher Oct. 1, 2012, 10:09 p.m.
I suppose no-one would object if I commit this as obvious at some point?

Comments

Robert Dewar Oct. 1, 2012, 10:16 p.m.
On 10/1/2012 6:09 PM, Steven Bosscher wrote:
> I suppose no-one would object if I commit this as obvious at some point?
>
> Index: lra-constraints.c
> ===================================================================
> --- lra-constraints.c   (revision 191858)
> +++ lra-constraints.c   (working copy)
> @@ -4293,7 +4293,7 @@ update_ebb_live_info (rtx head, rtx tail
>          {
>            if (prev_bb != NULL)
>              {
> -             /* Udpate DF_LR_IN (prev_bb):  */
> +             /* Update DF_LR_IN (prev_bb):  */
>                EXECUTE_IF_SET_IN_BITMAP (&check_only_regs, 0, j, bi)
>                  if (bitmap_bit_p (&live_regs, j))
>                    bitmap_set_bit (DF_LR_IN (prev_bb), j);
>

took me a few readings to see the change you had made, amazing how
the brain reads what it expects to see :-)

Patch hide | download patch | download mbox

Index: lra-constraints.c
===================================================================
--- lra-constraints.c   (revision 191858)
+++ lra-constraints.c   (working copy)
@@ -4293,7 +4293,7 @@  update_ebb_live_info (rtx head, rtx tail
        {
          if (prev_bb != NULL)
            {
-             /* Udpate DF_LR_IN (prev_bb):  */
+             /* Update DF_LR_IN (prev_bb):  */
              EXECUTE_IF_SET_IN_BITMAP (&check_only_regs, 0, j, bi)
                if (bitmap_bit_p (&live_regs, j))
                  bitmap_set_bit (DF_LR_IN (prev_bb), j);