diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-09 07:14:17 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-09 07:14:17 +0000 |
commit | fcb807f8e293b1ca679e748d83102abfa90109b6 (patch) | |
tree | f50cb79c83ac56867cb419564c6d1993a024a882 /gcc/function.h | |
parent | 75420fa31e3b1ddbe6e893e84fb68ad0e50e1ba7 (diff) | |
download | gcc-fcb807f8e293b1ca679e748d83102abfa90109b6.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85712 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/function.h b/gcc/function.h index b3e750fd6b0..0c1ca1aba5f 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -162,7 +162,6 @@ struct expr_status GTY(()) struct function GTY(()) { struct eh_status *eh; - struct stmt_status *stmt; struct expr_status *expr; struct emit_status *emit; struct varasm_status *varasm; @@ -276,15 +275,6 @@ struct function GTY(()) /* Current nesting level for temporaries. */ int x_temp_slot_level; - /* Current nesting level for variables in a block. */ - int x_var_temp_slot_level; - - /* When temporaries are created by TARGET_EXPRs, they are created at - this level of temp_slot_level, so that they can remain allocated - until no longer needed. CLEANUP_POINT_EXPRs define the lifetime - of TARGET_EXPRs. */ - int x_target_temp_slot_level; - /* This slot is initialized as 0 and is added to during the nested function. */ struct var_refs_queue *fixup_var_refs_queue; @@ -492,8 +482,6 @@ extern int trampolines_created; #define used_temp_slots (cfun->x_used_temp_slots) #define avail_temp_slots (cfun->x_avail_temp_slots) #define temp_slot_level (cfun->x_temp_slot_level) -#define target_temp_slot_level (cfun->x_target_temp_slot_level) -#define var_temp_slot_level (cfun->x_var_temp_slot_level) #define nonlocal_labels (cfun->x_nonlocal_labels) #define nonlocal_goto_handler_labels (cfun->x_nonlocal_goto_handler_labels) |