mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 18:31:48 +08:00
c-semantics.c (re_push_stmt_list): Remove.
* c-semantics.c (re_push_stmt_list): Remove. * c-common.h: Remove the corresponding prototype. From-SVN: r89468
This commit is contained in:
parent
11901f5dcc
commit
3a6210c52f
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user