decl.c (initialize_local_var): Remove RTL-generating code.
* decl.c (initialize_local_var): Remove RTL-generating code. * semantics.c (genrtl_try_block): Fix formatting. From-SVN: r36224
This commit is contained in:
parent
d5cfb451c1
commit
3a0d3e1e75
@ -1,5 +1,8 @@
|
||||
2000-09-06 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl.c (initialize_local_var): Remove RTL-generating code.
|
||||
* semantics.c (genrtl_try_block): Fix formatting.
|
||||
|
||||
Move statement-tree facilities from C++ to C front-end.
|
||||
* cp-tree.h (cp_tree_index): Remove CPTI_VOID_ZERO.
|
||||
(void_zero_node): Remove.
|
||||
|
@ -7957,14 +7957,10 @@ initialize_local_var (decl, init, flags)
|
||||
{
|
||||
int saved_stmts_are_full_exprs_p;
|
||||
|
||||
emit_line_note (DECL_SOURCE_FILE (decl),
|
||||
DECL_SOURCE_LINE (decl));
|
||||
my_friendly_assert (building_stmt_tree (), 20000906);
|
||||
saved_stmts_are_full_exprs_p = stmts_are_full_exprs_p ();
|
||||
current_stmt_tree ()->stmts_are_full_exprs_p = 1;
|
||||
if (building_stmt_tree ())
|
||||
finish_expr_stmt (build_aggr_init (decl, init, flags));
|
||||
else
|
||||
genrtl_expr_stmt (build_aggr_init (decl, init, flags));
|
||||
finish_expr_stmt (build_aggr_init (decl, init, flags));
|
||||
current_stmt_tree ()->stmts_are_full_exprs_p =
|
||||
saved_stmts_are_full_exprs_p;
|
||||
}
|
||||
|
@ -603,15 +603,17 @@ void genrtl_try_block (t)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (FN_TRY_BLOCK_P (t)) {
|
||||
if (! current_function_parms_stored)
|
||||
store_parm_decls ();
|
||||
expand_start_early_try_stmts ();
|
||||
}
|
||||
else {
|
||||
emit_line_note (input_filename, lineno);
|
||||
expand_start_try_stmts ();
|
||||
}
|
||||
if (FN_TRY_BLOCK_P (t))
|
||||
{
|
||||
if (! current_function_parms_stored)
|
||||
store_parm_decls ();
|
||||
expand_start_early_try_stmts ();
|
||||
}
|
||||
else
|
||||
{
|
||||
emit_line_note (input_filename, lineno);
|
||||
expand_start_try_stmts ();
|
||||
}
|
||||
|
||||
expand_stmt (TRY_STMTS (t));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user