diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-28 06:24:23 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-28 06:24:23 +0000 |
commit | db184797187e7be49f5226abd80d5161d3d9a5f1 (patch) | |
tree | 7441d5b00c8fa3ed69eb9de67d3b23585faddea1 /gcc/rtl.h | |
parent | 2e8850165e67311bd3c24652fcec2fe75fe772c6 (diff) | |
download | gcc-db184797187e7be49f5226abd80d5161d3d9a5f1.tar.gz |
gcc/
* rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
with const_rtx parameters.
* varasm.c (get_pool_constant): Likewise.
* rtlanal.c (rtx_referenced_p_1): Delete.
(rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
Assert that the rtx we're looking for is nonnull. Allow searches
for constant pool SYMBOL_REFs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index 671d064c7f0..925c384c63a 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2557,7 +2557,7 @@ extern rtx force_const_mem (enum machine_mode, rtx); /* In varasm.c */ struct function; -extern rtx get_pool_constant (rtx); +extern rtx get_pool_constant (const_rtx); extern rtx get_pool_constant_mark (rtx, bool *); extern enum machine_mode get_pool_mode (const_rtx); extern rtx simplify_subtraction (rtx); @@ -2800,7 +2800,7 @@ extern void copy_reg_eh_region_note_backward (rtx, rtx, rtx); extern int inequality_comparisons_p (const_rtx); extern rtx replace_rtx (rtx, rtx, rtx); extern int replace_label (rtx *, void *); -extern int rtx_referenced_p (rtx, rtx); +extern bool rtx_referenced_p (const_rtx, const_rtx); extern bool tablejump_p (const_rtx, rtx *, rtx_jump_table_data **); extern int computed_jump_p (const_rtx); extern bool tls_referenced_p (rtx); |