diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-22 22:30:12 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-22 22:30:12 +0000 |
commit | b447ca786ca15c48183b743fa0a61fca2f661d55 (patch) | |
tree | 4f4554809ba030c1b41d267109a8f8706fa58231 /gcc/rtl.h | |
parent | f57d8b490bef60249b6079e395efed6d92bef847 (diff) | |
download | gcc-b447ca786ca15c48183b743fa0a61fca2f661d55.tar.gz |
gcc/
* rtl.h (shallow_copy_rtvec): Declare.
* rtl.c (shallow_copy_rtvec): New function.
* cselib.c (cselib_subst_to_values): Use it. Only modify an
rtx field if the subrtx has changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153475 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index ee464b7c7f3..0f7044e5e1a 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1568,6 +1568,7 @@ extern rtx rtx_alloc_stat (RTX_CODE MEM_STAT_DECL); #define rtx_alloc(c) rtx_alloc_stat (c MEM_STAT_INFO) extern rtvec rtvec_alloc (int); +extern rtvec shallow_copy_rtvec (rtvec); extern bool shared_const_p (const_rtx); extern rtx copy_rtx (rtx); extern void dump_rtx_statistics (void); |