diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-02-17 21:33:43 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-02-17 21:33:43 +0000 |
commit | 1da326c33559e8a114bc379ec7c8f805dd37aef6 (patch) | |
tree | 58f53ff8b90ef0d35498ee8d08bb3febee99cd2b /gcc/toplev.c | |
parent | 65c0764148b74f9dda9348242e6ddf6b7733278b (diff) | |
download | gcc-1da326c33559e8a114bc379ec7c8f805dd37aef6.zip gcc-1da326c33559e8a114bc379ec7c8f805dd37aef6.tar.gz gcc-1da326c33559e8a114bc379ec7c8f805dd37aef6.tar.bz2 |
(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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 11 |
1 files changed, 6 insertions, 5 deletions
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; |