summaryrefslogtreecommitdiff
path: root/gcc/lra-eliminations.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lra-eliminations.c')
-rw-r--r--gcc/lra-eliminations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/lra-eliminations.c b/gcc/lra-eliminations.c
index fe5ac38d752..e742ebaf0ad 100644
--- a/gcc/lra-eliminations.c
+++ b/gcc/lra-eliminations.c
@@ -213,7 +213,7 @@ static rtx
form_sum (rtx x, rtx y)
{
rtx tem;
- enum machine_mode mode = GET_MODE (x);
+ machine_mode mode = GET_MODE (x);
if (mode == VOIDmode)
mode = GET_MODE (y);
@@ -310,7 +310,7 @@ get_elimination (rtx reg)
If we make full substitution to SP for non-null INSN, add the insn
sp offset. */
rtx
-lra_eliminate_regs_1 (rtx_insn *insn, rtx x, enum machine_mode mem_mode,
+lra_eliminate_regs_1 (rtx_insn *insn, rtx x, machine_mode mem_mode,
bool subst_p, bool update_p, bool full_p)
{
enum rtx_code code = GET_CODE (x);
@@ -662,7 +662,7 @@ lra_eliminate_regs_1 (rtx_insn *insn, rtx x, enum machine_mode mem_mode,
/* This function is used externally in subsequent passes of GCC. It
always does a full elimination of X. */
rtx
-lra_eliminate_regs (rtx x, enum machine_mode mem_mode,
+lra_eliminate_regs (rtx x, machine_mode mem_mode,
rtx insn ATTRIBUTE_UNUSED)
{
return lra_eliminate_regs_1 (NULL, x, mem_mode, true, false, true);
@@ -679,7 +679,7 @@ static HOST_WIDE_INT curr_sp_change;
MEM_MODE is the mode of an enclosing MEM rtx, or VOIDmode if not
within a MEM. */
static void
-mark_not_eliminable (rtx x, enum machine_mode mem_mode)
+mark_not_eliminable (rtx x, machine_mode mem_mode)
{
enum rtx_code code = GET_CODE (x);
struct lra_elim_table *ep;