diff options
author | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-02 14:29:35 +0000 |
---|---|---|
committer | jgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-02 14:29:35 +0000 |
commit | cebb7f1486cf19de8b183e529fd52e6496aafe7e (patch) | |
tree | f3bb68e8d44bcc7d943e1cb85b5614bb525bc1fa /gcc/output.h | |
parent | b31e35de50d57501895ab343aa20ec135f108e64 (diff) | |
download | gcc-cebb7f1486cf19de8b183e529fd52e6496aafe7e.tar.gz |
[Patch 1/2 PR78561] Rename get_pool_size to get_pool_size_upper_bound
gcc/
PR rtl-optimization/78561
* config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p) Rename
get_pool_size to get_pool_size_upper_bound.
(rs6000_stack_info): Likewise.
(rs6000_emit_prologue): Likewise.
(rs6000_elf_declare_function_name): Likewise.
(rs6000_set_up_by_prologue): Likewise.
(rs6000_can_eliminate): Likewise, reformat spaces to tabs.
* output.h (get_pool_size): Rename to...
(get_pool_size_upper_bound): ...This.
* varasm.c (get_pool_size): Rename to...
(get_pool_size_upper_bound): ...This.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243182 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/output.h b/gcc/output.h index 0924499c484..7186dc1b98b 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -287,8 +287,11 @@ extern void assemble_real (REAL_VALUE_TYPE, machine_mode, unsigned, /* Write the address of the entity given by SYMBOL to SEC. */ extern void assemble_addr_to_section (rtx, section *); -/* Return the size of the constant pool. */ -extern int get_pool_size (void); +/* Return the maximum size of the constant pool. This may be larger + than the final size of the constant pool, as entries may be added to + the constant pool which become unreferenced, or otherwise not need + output by the time we actually emit the pool. */ +extern int get_pool_size_upper_bound (void); extern rtx_insn *peephole (rtx_insn *); |