lower-subreg, edit-context: Fix comment typos

When backporting r14-9315 to 13 branch, I've noticed I've missed
one letter in a comment.  And grepping for similar issues I found
one word with too many.

2024-03-15  Jakub Jelinek  <jakub@redhat.com>

	* lower-subreg.cc (resolve_simple_move): Fix comment typo,
	betwee -> between.
	* edit-context.cc (class line_event): Fix comment typo,
	betweeen -> between.
This commit is contained in:
Jakub Jelinek 2024-03-15 12:20:04 +01:00
parent ab2da8fb67
commit 30e1c3d7e8
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ class added_line
}; };
/* Class for representing edit events that have occurred on one line of /* Class for representing edit events that have occurred on one line of
one file: the replacement of some text betweeen some columns one file: the replacement of some text between some columns
on the line. on the line.
Subsequent events will need their columns adjusting if they're Subsequent events will need their columns adjusting if they're

View file

@ -933,7 +933,7 @@ resolve_simple_move (rtx set, rtx_insn *insn)
if (reg_overlap_mentioned_p (XVECEXP (dest, 0, 0), if (reg_overlap_mentioned_p (XVECEXP (dest, 0, 0),
XVECEXP (src, 0, 1))) XVECEXP (src, 0, 1)))
{ {
/* If there is overlap betwee the first half of the /* If there is overlap between the first half of the
destination and what will be stored to the second one, destination and what will be stored to the second one,
use a temporary pseudo. See PR114211. */ use a temporary pseudo. See PR114211. */
rtx tem = gen_reg_rtx (GET_MODE (XVECEXP (src, 0, 1))); rtx tem = gen_reg_rtx (GET_MODE (XVECEXP (src, 0, 1)));