diff options
author | Richard Guenther <rguenther@suse.de> | 2012-08-01 17:25:56 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-08-01 17:25:56 +0000 |
commit | d94b820b51b38be47a7b2cb71fb80bb0ae7c6ce3 (patch) | |
tree | d232b12d9096969f32c887b0016fe2cc6b46faf4 /gcc/tree-flow-inline.h | |
parent | ece401eecc53b5560f490ec2899f7180f8bf10b6 (diff) | |
download | gcc-d94b820b51b38be47a7b2cb71fb80bb0ae7c6ce3.zip gcc-d94b820b51b38be47a7b2cb71fb80bb0ae7c6ce3.tar.gz gcc-d94b820b51b38be47a7b2cb71fb80bb0ae7c6ce3.tar.bz2 |
tree-flow-inline.h (referenced_var): Remove.
2012-08-01 Richard Guenther <rguenther@suse.de>
* tree-flow-inline.h (referenced_var): Remove.
* tree-ssa-coalesce.c (create_outofssa_var_map): Remove duplicate
checking code.
* tree-sra.c (candidates): New global hashtable.
(candidate): New function.
(sra_initialize): Initialize candidates.
(sra_deinitialize): Free candidates.
(disqualify_candidate): Remove candidate from candidates.
(maybe_add_sra_candidate): New function.
(find_var_candidates): Walk over all local decls and parameters,
add candidates to candidates hashtable.
(find_param_candidates): Add candidates to candidates hashtable.
(analyze_all_variable_accesses): Use candidate instead of
referenced_var.
From-SVN: r190047
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index d30cdf5..c3b9c9c 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -98,16 +98,6 @@ next_htab_element (htab_iterator *hti) return NULL; } -/* Get the variable with uid UID from the list of referenced vars. */ - -static inline tree -referenced_var (unsigned int uid) -{ - tree var = referenced_var_lookup (cfun, uid); - gcc_assert (var || uid == 0); - return var; -} - /* Initialize ITER to point to the first referenced variable in the referenced_vars hashtable, and return that variable. */ |