aboutsummaryrefslogtreecommitdiff
path: root/gcc/bt-load.c
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2007-06-18 05:10:38 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2007-06-18 05:10:38 +0000
commita8d8890adb3be434ee6eec4f104f322e6c247c5a (patch)
tree8b04077b0adea7286b007ca5b09d417e9e135891 /gcc/bt-load.c
parenta761c345f30fbf3d4c852140725840e1ce23e119 (diff)
downloadgcc-a8d8890adb3be434ee6eec4f104f322e6c247c5a.zip
gcc-a8d8890adb3be434ee6eec4f104f322e6c247c5a.tar.gz
gcc-a8d8890adb3be434ee6eec4f104f322e6c247c5a.tar.bz2
bt-load.c (move_btr_def): Fix the order of arguments to validate_replace_rtx.
* bt-load.c (move_btr_def): Fix the order of arguments to validate_replace_rtx. From-SVN: r125789
Diffstat (limited to 'gcc/bt-load.c')
-rw-r--r--gcc/bt-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/bt-load.c b/gcc/bt-load.c
index 710c788..91ea0e6 100644
--- a/gcc/bt-load.c
+++ b/gcc/bt-load.c
@@ -1228,7 +1228,7 @@ move_btr_def (basic_block new_def_bb, int btr, btr_def def, bitmap live_range,
replacement_rtx = btr_rtx;
else
replacement_rtx = gen_rtx_REG (GET_MODE (user->use), btr);
- validate_replace_rtx (user->insn, user->use, replacement_rtx);
+ validate_replace_rtx (user->use, replacement_rtx, user->insn);
user->use = replacement_rtx;
}
}