From c265d2aa7b44510e6ef88f4610b14176fc1f5374 Mon Sep 17 00:00:00 2001 From: tbsaunde Date: Sat, 2 May 2015 21:05:20 +0000 Subject: [PATCH] make some functions in lra-constraints.c take rtx_insn * gcc/ChangeLog: 2015-05-02 Trevor Saunders * lra-constraints.c: Change type of some arguments to rtx_insn *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222735 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/lra-constraints.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6807ec59d85..17ad3df3035 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-05-02 Trevor Saunders + * lra-constraints.c: Change type of some arguments to rtx_insn *. + +2015-05-02 Trevor Saunders + * regcprop.c (kill_autoinc_value): Change type of argument to rtx_insn *. diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 791f7deca73..5c4c2f26792 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -4141,7 +4141,7 @@ contains_deleted_insn_p (rtx_insn_list *list) /* Return true if X contains a pseudo dying in INSN. */ static bool -dead_pseudo_p (rtx x, rtx insn) +dead_pseudo_p (rtx x, rtx_insn *insn) { int i, j; const char *fmt; @@ -4544,7 +4544,7 @@ setup_next_usage_insn (int regno, rtx insn, int reloads_num, bool after_p) optional debug insns finished by a non-debug insn using REGNO. RELOADS_NUM is current number of reload insns processed so far. */ static void -add_next_usage_insn (int regno, rtx insn, int reloads_num) +add_next_usage_insn (int regno, rtx_insn *insn, int reloads_num) { rtx next_usage_insns; -- 2.11.4.GIT