OSDN Git Service

2009-05-06 Robert Dewar <dewar@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / tree-iterator.h
index 5f14edc..c765bb5 100644 (file)
@@ -1,12 +1,12 @@
 /* Iterator routines for manipulating GENERIC and GIMPLE tree statements.
-   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
    Contributed by Andrew MacLeod  <amacleod@redhat.com>
 
 This file is part of GCC.
 
 GCC is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
 any later version.
 
 GCC is distributed in the hope that it will be useful,
@@ -15,9 +15,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to
-the Free Software Foundation, 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.  */
+along with GCC; see the file COPYING3.  If not see
+<http://www.gnu.org/licenses/>.  */
 
 
 /* This file is dependent upon the implementation of tree's. It provides an
@@ -95,9 +94,9 @@ tsi_stmt (tree_stmt_iterator i)
 
 enum tsi_iterator_update
 {
-  TSI_NEW_STMT,                /* Leave the iterator at the same statement.  */
-  TSI_SAME_STMT,       /* Only valid when single statement is added, move
+  TSI_NEW_STMT,                /* Only valid when single statement is added, move
                           iterator to it.  */
+  TSI_SAME_STMT,       /* Leave the iterator at the same statement.  */
   TSI_CHAIN_START,     /* Only valid when chain of statements is added, move
                           iterator to the first statement in the chain.  */
   TSI_CHAIN_END,       /* Only valid when chain of statements is added, move
@@ -114,9 +113,6 @@ extern void tsi_link_after (tree_stmt_iterator *, tree,
 
 void tsi_delink (tree_stmt_iterator *);
 
-tree tsi_split_statement_list_after (const tree_stmt_iterator *);
-tree tsi_split_statement_list_before (tree_stmt_iterator *);
-
 void append_to_statement_list (tree, tree *);
 void append_to_statement_list_force (tree, tree *);