OSDN Git Service

* c-semantics.c (re_push_stmt_list): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 2004 18:54:25 +0000 (18:54 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 2004 18:54:25 +0000 (18:54 +0000)
* c-common.h: Remove the corresponding prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89468 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-common.h
gcc/c-semantics.c

index 8c9726c..8858f73 100644 (file)
@@ -1,5 +1,10 @@
 2004-10-22  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * c-semantics.c (re_push_stmt_list): Remove.
+       * c-common.h: Remove the corresponding prototype.
+
+2004-10-22  Kazu Hirata  <kazu@cs.umass.edu>
+
        * stmt.c (asm_op_is_mem_input): Remove.
        * tree.h: Remove the corresponding prototype.
 
index 8f27638..77e2c27 100644 (file)
@@ -295,7 +295,6 @@ extern void pop_file_scope (void);
 extern int yyparse (void);
 extern stmt_tree current_stmt_tree (void);
 extern tree push_stmt_list (void);
-extern tree re_push_stmt_list (tree);
 extern tree pop_stmt_list (tree);
 extern tree add_stmt (tree);
 extern void push_cleanup (tree, tree, bool);
index f011cb9..658a12d 100644 (file)
@@ -58,29 +58,6 @@ push_stmt_list (void)
   return t;
 }
 
-/* Similarly, except that T may have already been pushed/popped, and
-   thus may already contain statement(s).  Arrage for new statements
-   to be appended.  */
-
-tree
-re_push_stmt_list (tree t)
-{
-  if (t)
-    {
-      if (TREE_CODE (t) != STATEMENT_LIST)
-       {
-         tree u = alloc_stmt_list ();
-         append_to_statement_list_force (t, &u);
-         t = u;
-       }
-    }
-  else
-    t = alloc_stmt_list ();
-  TREE_CHAIN (t) = cur_stmt_list;
-  cur_stmt_list = t;
-  return t;
-}
-
 /* Finish the statement tree rooted at T.  */
 
 tree