aboutsummaryrefslogtreecommitdiff
path: root/gcc/df-scan.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-05-19 07:10:42 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-05-19 07:10:42 +0000
commit9188b2863c0a2b6c91dbd6e6e373fada6b34f225 (patch)
treeb85ed03cf9e1c089c04a38231fdb767555930dc3 /gcc/df-scan.c
parent8deccbb7c8e1a654f96a396125fd55a06d908de8 (diff)
downloadgcc-9188b2863c0a2b6c91dbd6e6e373fada6b34f225.zip
gcc-9188b2863c0a2b6c91dbd6e6e373fada6b34f225.tar.gz
gcc-9188b2863c0a2b6c91dbd6e6e373fada6b34f225.tar.bz2
rtl.h (reg_info): Add an nregs field.
gcc/ * rtl.h (reg_info): Add an nregs field. (REG_NREGS): Use it. (SET_REGNO_RAW): Delete. (set_regno_raw): New function. * regs.h (END_HARD_REGNO): Make equivalent to END_REGNO. (END_REGNO): Redefine in terms of REG_NREGS. * read-rtl.c (read_rtx_code): Call set_regno_raw instead of SET_REGNO_RAW. * emit-rtl.c (set_mode_and_regno): Likewise. * df-scan.c (df_ref_change_reg_with_loc): Use set_mode_and_regno instead of SET_REGNO_RAW. From-SVN: r223342
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r--gcc/df-scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index 6175fd9..3aec13c 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -1930,7 +1930,7 @@ df_ref_change_reg_with_loc (rtx loc, unsigned int new_regno)
DF_REG_EQ_USE_GET (new_regno),
new_regno, loc);
}
- SET_REGNO_RAW (loc, new_regno);
+ set_mode_and_regno (loc, GET_MODE (loc), new_regno);
}