diff options
author | Zack Weinberg <zack@codesourcery.com> | 2003-04-27 18:57:51 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-04-27 18:57:51 +0000 |
commit | 32a619073cabf92631b4a7d017de59f7390cae62 (patch) | |
tree | 74a2cd3ab97d99f3f1a03ae468e26032ae8717fa /gcc/rtl.h | |
parent | 2d9d52359cf173f784d1649f0ae2e77b27e87b36 (diff) | |
download | gcc-32a619073cabf92631b4a7d017de59f7390cae62.zip gcc-32a619073cabf92631b4a7d017de59f7390cae62.tar.gz gcc-32a619073cabf92631b4a7d017de59f7390cae62.tar.bz2 |
varasm.c (const_str_htab_hash, [...]): Kill.
* varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
struct deferred_string, const_str_htab): Kill.
(n_deferred_strings): New static variable.
(build_constant_desc): Set SYMBOL_REF_DECL of the new
symbol_ref to point to the constant.
(output_constant_def): When a deferred string is forced out,
just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
(mark_constant): Likewise.
(maybe_output_constant_def_contents): When deferring a string
constant, just set STRING_POOL_ADDRESS_P and increment
n_deferred_strings.
(mark_constant_pool): Check n_deferred_strings, not the size
of const_str_htab.
(init_varasm_once): No need to create const_str_htab.
* rtl.def, rtl.h, doc/rtl.texi: Document possibility that
SYMBOL_REF_DECL points to a constant.
From-SVN: r66133
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1252,7 +1252,7 @@ do { \ #define SYMBOL_REF_WEAK(RTX) \ (RTL_FLAG_CHECK1("SYMBOL_REF_WEAK", (RTX), SYMBOL_REF)->integrated) -/* The tree decl associated with the symbol, or null. */ +/* The tree (decl or constant) associated with the symbol, or null. */ #define SYMBOL_REF_DECL(RTX) X0TREE ((RTX), 2) /* A set of flags on a symbol_ref that are, in some respects, redundant with |