aboutsummaryrefslogtreecommitdiff
path: root/gcc/bt-load.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-01-31 08:02:55 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-01-31 08:02:55 +0000
commitf84d109fc49f0e6f269c1e8a0c1bf48fb25c24b8 (patch)
tree1c4c36ba85199ae99a87b5792deb74d8342d3e5f /gcc/bt-load.c
parent354b7da5e35d8b4266e484d514045a7dc1f624fb (diff)
downloadgcc-f84d109fc49f0e6f269c1e8a0c1bf48fb25c24b8.zip
gcc-f84d109fc49f0e6f269c1e8a0c1bf48fb25c24b8.tar.gz
gcc-f84d109fc49f0e6f269c1e8a0c1bf48fb25c24b8.tar.bz2
bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
* bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". * calls.c: Likewise. * emit-rtl.c: Likewise. * function.c: Likewise. * reload1.c: Likewise. * config/i386/cygming.h: Likewise. * config/i386/i386.c: Likewise. * config/i386/winnt.c: Likewise. From-SVN: r77025
Diffstat (limited to 'gcc/bt-load.c')
-rw-r--r--gcc/bt-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/bt-load.c b/gcc/bt-load.c
index 9b8f598..f49cec8 100644
--- a/gcc/bt-load.c
+++ b/gcc/bt-load.c
@@ -1155,7 +1155,7 @@ move_btr_def (basic_block new_def_bb, int btr, btr_def def, bitmap live_range,
set = single_set (old_insn);
src = SET_SRC (set);
btr_mode = GET_MODE (SET_DEST (set));
- btr_rtx = gen_rtx (REG, btr_mode, btr);
+ btr_rtx = gen_rtx_REG (btr_mode, btr);
new_insn = gen_move_insn (btr_rtx, src);
@@ -1184,7 +1184,7 @@ move_btr_def (basic_block new_def_bb, int btr, btr_def def, bitmap live_range,
|| GET_MODE (user->use) == VOIDmode)
replacement_rtx = btr_rtx;
else
- replacement_rtx = gen_rtx (REG, GET_MODE (user->use), btr);
+ replacement_rtx = gen_rtx_REG (GET_MODE (user->use), btr);
replace_rtx (user->insn, user->use, replacement_rtx);
user->use = replacement_rtx;
}