diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-09 04:15:35 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-09 04:15:35 +0000 |
commit | e0f97a1a54bca83148f8056832a5ba360dc2d11c (patch) | |
tree | d50883e9818fff57f7da3908438ef3860c73cb20 /gcc/mode-switching.c | |
parent | 6e9c0030c6e5c42e6110248d530d6856c41feb7b (diff) | |
download | gcc-e0f97a1a54bca83148f8056832a5ba360dc2d11c.tar.gz |
use rtx_insn * as the type of a local variable in mode-switching.c
gcc/ChangeLog:
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* mode-switching.c (commit_mode_sets): Change type of local
variable from rtx to rtx_insn *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r-- | gcc/mode-switching.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c index c0f865c13b4..dd28a3eb572 100644 --- a/gcc/mode-switching.c +++ b/gcc/mode-switching.c @@ -131,7 +131,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info) HARD_REG_SET live_at_edge; basic_block src_bb = eg->src; int cur_mode = info[src_bb->index].mode_out; - rtx mode_set; + rtx_insn *mode_set; REG_SET_TO_HARD_REG_SET (live_at_edge, df_get_live_out (src_bb)); @@ -145,7 +145,7 @@ commit_mode_sets (struct edge_list *edge_list, int e, struct bb_info *info) default_rtl_profile (); /* Do not bother to insert empty sequence. */ - if (mode_set == NULL_RTX) + if (mode_set == NULL) continue; /* We should not get an abnormal edge here. */ |