Patchwork [lra] Comment typo fix

login
register
mail settings
Submitter Steven Bosscher
Date Oct. 1, 2012, 10:09 p.m.
Message ID <CABu31nMSFxbH-ucxsc5yURfej8wKzL=s4kkG6usvefkgmaOAEA@mail.gmail.com>
Download mbox | patch
Permalink /patch/188352/
State New
Headers show

Comments

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

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);