diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 16:38:46 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-07 16:38:46 +0000 |
commit | 47aaf6e6cb103ab06e8fd6bb7d326d41d16eefa1 (patch) | |
tree | 64b3c5dbf6e7dd437d93c22279822b894ac0ccce /gcc/tree.c | |
parent | cdc47811a2f9d6920f361ba1e903b9cfa7b94034 (diff) | |
download | gcc-47aaf6e6cb103ab06e8fd6bb7d326d41d16eefa1.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128246 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 9e5a7bd9068..a3e5829b6d2 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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; |