aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2016-12-02 14:29:35 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2016-12-02 14:29:35 +0000
commit474bbda1675d35ab6f78ffdf20ee091f8402d185 (patch)
treef3bb68e8d44bcc7d943e1cb85b5614bb525bc1fa /gcc/output.h
parente7a7f4bea8356e24ca5f2c25a75dc005c7492f89 (diff)
downloadgcc-474bbda1675d35ab6f78ffdf20ee091f8402d185.zip
gcc-474bbda1675d35ab6f78ffdf20ee091f8402d185.tar.gz
gcc-474bbda1675d35ab6f78ffdf20ee091f8402d185.tar.bz2
[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. From-SVN: r243182
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 0924499..7186dc1 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 *);