diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-05-19 07:09:23 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-05-19 07:09:23 +0000 |
commit | e1a2b02198c93716fd4695d6ed61c20cfc933d1d (patch) | |
tree | 625b290a5561d2ca2554e081f1d9861deebab18f /gcc/rtl.h | |
parent | dc8afb709d753622e5110bb4bb88415200ce0c5a (diff) | |
download | gcc-e1a2b02198c93716fd4695d6ed61c20cfc933d1d.zip gcc-e1a2b02198c93716fd4695d6ed61c20cfc933d1d.tar.gz gcc-e1a2b02198c93716fd4695d6ed61c20cfc933d1d.tar.bz2 |
df.h (df_ref_change_reg_with_loc): Remove old_regno parameter.
gcc/
* df.h (df_ref_change_reg_with_loc): Remove old_regno parameter.
Change type of new_regno to unsigned int.
* df-scan.c (df_ref_change_reg_with_loc_1): Change type of
new_regno to unsigned int.
(df_ref_change_reg_with_loc): Remove old_regno parameter.
Change type of new_regno to unsigned int. Use SET_REGNO_RAW.
* rtl.h (SET_REGNO): Update call to df_ref_change_reg_with_loc.
(SET_REGNO_RAW): Add space after ",".
From-SVN: r223338
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1693,9 +1693,8 @@ inline rtx_insn *JUMP_LABEL_AS_INSN (const rtx_insn *insn) /* For a REG rtx, REGNO extracts the register number. REGNO can only be used on RHS. Use SET_REGNO to change the value. */ #define REGNO(RTX) (rhs_regno(RTX)) -#define SET_REGNO(RTX,N) \ - (df_ref_change_reg_with_loc (REGNO (RTX), N, RTX), XCUINT (RTX, 0, REG) = N) -#define SET_REGNO_RAW(RTX,N) (XCUINT (RTX, 0, REG) = N) +#define SET_REGNO(RTX, N) (df_ref_change_reg_with_loc (RTX, N)) +#define SET_REGNO_RAW(RTX, N) (XCUINT (RTX, 0, REG) = N) /* Return the number of consecutive registers in a REG. This is always 1 for pseudo registers and is determined by HARD_REGNO_NREGS for |