diff options
author | Diego Novillo <dnovillo@google.com> | 2007-09-07 12:38:46 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2007-09-07 12:38:46 -0400 |
commit | b48d0358542ad050257172d48202f6d59c2d5233 (patch) | |
tree | 64b3c5dbf6e7dd437d93c22279822b894ac0ccce /gcc/tree.c | |
parent | 7c45aad5e61c65820606cf8db78bf15d876b2578 (diff) | |
download | gcc-b48d0358542ad050257172d48202f6d59c2d5233.zip gcc-b48d0358542ad050257172d48202f6d59c2d5233.tar.gz gcc-b48d0358542ad050257172d48202f6d59c2d5233.tar.bz2 |
tree-flow.h (const_block_stmt_iterator): Remove.
* tree-flow.h (const_block_stmt_iterator): Remove.
Update all users to use block_stmt_iterator.
* tree-iterator.h (const_tree_stmt_iterator): Remove.
Update all users to use tree_stmt_iterator.
From-SVN: r128246
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8635,10 +8635,10 @@ walk_tree_without_duplicates_1 (tree *tp, walk_tree_fn func, void *data, empty statements. */ bool -empty_body_p (const_tree stmt) +empty_body_p (tree stmt) { - const_tree_stmt_iterator i; - const_tree body; + tree_stmt_iterator i; + tree body; if (IS_EMPTY_STMT (stmt)) return true; @@ -8649,8 +8649,8 @@ empty_body_p (const_tree stmt) else return false; - for (i = ctsi_start (body); !ctsi_end_p (i); ctsi_next (&i)) - if (!empty_body_p (ctsi_stmt (i))) + for (i = tsi_start (body); !tsi_end_p (i); tsi_next (&i)) + if (!empty_body_p (tsi_stmt (i))) return false; return true; |