diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-08-09 07:14:17 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-08-09 07:14:17 +0000 |
commit | 7efcb746dac871864e4f193ea3abda75ab2b7f5c (patch) | |
tree | f50cb79c83ac56867cb419564c6d1993a024a882 /gcc/tree.h | |
parent | c4d70ce3b976c161188e2aac6a4e0a1d5c05cb79 (diff) | |
download | gcc-7efcb746dac871864e4f193ea3abda75ab2b7f5c.zip gcc-7efcb746dac871864e4f193ea3abda75ab2b7f5c.tar.gz gcc-7efcb746dac871864e4f193ea3abda75ab2b7f5c.tar.bz2 |
Makefile.in (GTFILES): Remove stmt.c
2004-08-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (GTFILES): Remove stmt.c
(stmt.o): Do not depend on gt-stmt.h.
* emit-rtl.c (emit_line_note): Do not call
set_file_and_line_for_stmt.
* expr.c (expand_expr_real_1) <SWITCH_EXPR>: Let expand_case
do everything.
* function.c (free_after_parsing): Do not free STMT field.
(allocate_struct_function): Do not call init_stmt_for_function.
(assign_stack_temp_for_type): Do not accept values of keep
other than 0 or 1.
(init_temp_slots): Do not initialize removed variables.
* function.h (struct function): Remove STMT, X_TARGET_TEMP_SLOT_LEVEL
and X_VAR_TEMP_SLOT_LEVEL fields.
* rtl.h (set_file_and_line_for_stmt): Remove.
* stmt.c (struct nesting, ALLOC_NESTING, POPSTACK,
struct stmt_status, cond_stack, case_stack, nesting_stack,
nesting_depth, emit_locus, set_file_and_line_for_stmt,
same_case_target_p, init_stmt_for_function, emit_nop,
expand_start_cond, expand_start_elseif, expand_start_else,
expand_elseif, expand_end_cond): Remove.
(preserve_subexpressions_p): Remove references to CFUN->STMT.
(expand_start_case, expand_end_case_type): Remove, merge into...
(expand_case): ... this one, including other bits from
expand_expr_real_1. Inline same_case_target_p. Turn members
of CASE_STACK into local variables.
(emit_case_bit_tests): Inline same_case_target_p.
(add_case_node): Add HEAD argument, return new head of the list,
do not handle default label here.
* tree.h (expand_start_cond, expand_end_cond, expand_start_else,
expand_start_elseif, current_nesting_level, expand_start_case,
expand_end_case_type, expand_end_case, add_case_node,
init_stmt_for_function, expand_elseif): Remove prototypes.
(expand_case): Add prototype.
From-SVN: r85712
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -3352,10 +3352,6 @@ extern void expand_decl_init (tree); extern void expand_label (tree); extern void expand_goto (tree); extern void expand_asm (tree, int); -extern void expand_start_cond (tree, int); -extern void expand_end_cond (void); -extern void expand_start_else (void); -extern void expand_start_elseif (tree); extern void expand_stack_alloc (tree, tree); extern rtx expand_stack_save (void); @@ -3363,12 +3359,6 @@ extern void expand_stack_restore (tree); extern void expand_return (tree); extern int is_body_block (tree); -extern struct nesting * current_nesting_level (void); -extern void expand_start_case (tree); -extern void expand_end_case_type (tree, tree); -#define expand_end_case(cond) expand_end_case_type (cond, NULL) -extern void add_case_node (tree, tree, tree); - /* In tree-eh.c */ extern void using_eh_for_cleanups (void); @@ -3619,7 +3609,6 @@ extern void notice_global_symbol (tree); extern void set_user_assembler_name (tree, const char *); /* In stmt.c */ -extern void emit_nop (void); extern void expand_computed_goto (tree); extern bool parse_output_constraint (const char **, int, int, int, bool *, bool *, bool *); @@ -3629,8 +3618,7 @@ extern void expand_asm_operands (tree, tree, tree, tree, int, location_t); extern void expand_asm_expr (tree); extern bool asm_op_is_mem_input (tree, tree); extern tree resolve_asm_operand_names (tree, tree, tree); -extern void init_stmt_for_function (void); -extern void expand_elseif (tree); +extern void expand_case (tree); extern void expand_decl (tree); extern void expand_anon_union_decl (tree, tree, tree); |