aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2009-10-22 22:30:12 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2009-10-22 22:30:12 +0000
commitbd7960b1e4ce9d64b2631d0b644eb8bf83845005 (patch)
tree4f4554809ba030c1b41d267109a8f8706fa58231 /gcc/rtl.h
parent2a31793e324e29c237dc9e46064280aa626374ad (diff)
downloadgcc-bd7960b1e4ce9d64b2631d0b644eb8bf83845005.zip
gcc-bd7960b1e4ce9d64b2631d0b644eb8bf83845005.tar.gz
gcc-bd7960b1e4ce9d64b2631d0b644eb8bf83845005.tar.bz2
rtl.h (shallow_copy_rtvec): Declare.
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. From-SVN: r153475
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index ee464b7..0f7044e 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);