From 1da326c33559e8a114bc379ec7c8f805dd37aef6 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Tue, 17 Feb 2004 21:33:43 +0000 Subject: (c-decl.c, [...]): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION. * (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c, function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c, tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION. * ada/utils.c: Likewise. * cp/decl.c: Likewise. * f/com.c: Likewise. * java/class.c: Likewise. From-SVN: r77985 --- gcc/toplev.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 7473ead..09978fc 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1658,8 +1658,8 @@ wrapup_global_declarations (tree *vec, int len) if (TREE_CODE (decl) == FUNCTION_DECL && DECL_INITIAL (decl) != 0 - && DECL_SAVED_INSNS (decl) != 0 - && DECL_SAVED_INSNS (decl)->saved_for_inline + && DECL_STRUCT_FUNCTION (decl) != 0 + && DECL_STRUCT_FUNCTION (decl)->saved_for_inline && (flag_keep_inline_functions || (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) || TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)))) @@ -2677,7 +2677,8 @@ rest_of_handle_inlining (tree decl) if (open_dump_file (DFI_rtl, decl)) { - if (DECL_SAVED_INSNS (decl) && DECL_SAVED_INSNS (decl)->saved_for_inline) + if (DECL_STRUCT_FUNCTION (decl) + && DECL_STRUCT_FUNCTION (decl)->saved_for_inline) fprintf (rtl_dump_file, ";; (integrable)\n\n"); close_dump_file (DFI_rtl, print_rtl, insns); } @@ -2747,7 +2748,7 @@ rest_of_handle_inlining (tree decl) timevar_push (TV_INTEGRATION); save_for_inline (decl); timevar_pop (TV_INTEGRATION); - DECL_SAVED_INSNS (decl)->inlinable = inlinable; + DECL_STRUCT_FUNCTION (decl)->inlinable = inlinable; return true; } @@ -3678,7 +3679,7 @@ rest_of_compilation (tree decl) if (! DECL_DEFER_OUTPUT (decl)) { free_after_compilation (cfun); - DECL_SAVED_INSNS (decl) = 0; + DECL_STRUCT_FUNCTION (decl) = 0; } cfun = 0; -- cgit v1.1