diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 2004-06-24 22:00:16 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2004-06-24 22:00:16 -0400 |
commit | aa4a53af510109ace50301adba3ee39237056cb6 (patch) | |
tree | 2ccb66f3019da5e4546c851ef404388d009b80ba /gcc/tree-dfa.c | |
parent | eb6127a4f9e593f6f00a8f3b5c4c50967f9340f6 (diff) | |
download | gcc-aa4a53af510109ace50301adba3ee39237056cb6.zip gcc-aa4a53af510109ace50301adba3ee39237056cb6.tar.gz gcc-aa4a53af510109ace50301adba3ee39237056cb6.tar.bz2 |
Update whitespace and comments
From-SVN: r83632
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r-- | gcc/tree-dfa.c | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index bc1f8f5..2778d53 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -852,24 +852,19 @@ collect_dfa_stats_r (tree *tp, int *walk_subtrees ATTRIBUTE_UNUSED, static tree find_vars_r (tree *tp, int *walk_subtrees, void *data) { - tree t = *tp; - struct walk_state *walk_state = (struct walk_state *)data; - - if (SSA_VAR_P (t)) - { - /* If T is a regular variable that the optimizers are interested - in, add it to the list of variables. */ - add_referenced_var (t, walk_state); - } - else if (DECL_P (t) - || TYPE_P (t) - || TREE_CODE_CLASS (TREE_CODE (t)) == 'c') - { - /* Type, _DECL and constant nodes have no interesting children. - Ignore them. */ - *walk_subtrees = 0; - } - + struct walk_state *walk_state = (struct walk_state *) data; + + /* If T is a regular variable that the optimizers are interested + in, add it to the list of variables. */ + if (SSA_VAR_P (*tp)) + add_referenced_var (*tp, walk_state); + + /* Type, _DECL and constant nodes have no interesting children. + Ignore them. */ + else if (DECL_P (*tp) + || TYPE_P (*tp) + || TREE_CODE_CLASS (TREE_CODE (*tp)) == 'c') + *walk_subtrees = 0; return NULL_TREE; } |