diff mbox

[1/1,ira-costs] grammar fix of comments

Message ID 1400114719-31821-1-git-send-email-zhouzhouyi@gmail.com
State New
Headers show

Commit Message

Zhouyi Zhou May 15, 2014, 12:45 a.m. UTC
Fix grammar error for comments above
process_bb_node_for_hard_reg_moves

Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
---
 gcc/ira-costs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Jeff Law May 16, 2014, 6:22 p.m. UTC | #1
On 05/14/14 18:45, Zhouyi Zhou wrote:
> Fix grammar error for comments above
> process_bb_node_for_hard_reg_moves
>
> Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn>
> ---
>   gcc/ira-costs.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c
> index 648806b..fbfb070 100644
> --- a/gcc/ira-costs.c
> +++ b/gcc/ira-costs.c
> @@ -1855,7 +1855,7 @@ find_costs_and_classes (FILE *dump_file)
>
>   /* Process moves involving hard regs to modify allocno hard register
>      costs.  We can do this only after determining allocno class.  If a
> -   hard register forms a register class, than moves with the hard
> +   hard register forms a register class, then moves with the hard
>      register are already taken into account in class costs for the
>      allocno.  */
>   static void
THanks.  Installed.

jeff
diff mbox

Patch

diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c
index 648806b..fbfb070 100644
--- a/gcc/ira-costs.c
+++ b/gcc/ira-costs.c
@@ -1855,7 +1855,7 @@  find_costs_and_classes (FILE *dump_file)
 
 /* Process moves involving hard regs to modify allocno hard register
    costs.  We can do this only after determining allocno class.  If a
-   hard register forms a register class, than moves with the hard
+   hard register forms a register class, then moves with the hard
    register are already taken into account in class costs for the
    allocno.  */
 static void