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/calls.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/calls.c')
-rw-r--r-- | gcc/calls.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index c667575..82664b5 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1778,11 +1778,11 @@ try_to_integrate (tree fndecl, tree actparms, rtx target, int ignore, rtx insn = NULL_RTX, seq; /* Look for a call in the inline function code. - If DECL_SAVED_INSNS (fndecl)->outgoing_args_size is + If DECL_STRUCT_FUNCTION (fndecl)->outgoing_args_size is nonzero then there is a call and it is not necessary to scan the insns. */ - if (DECL_SAVED_INSNS (fndecl)->outgoing_args_size == 0) + if (DECL_STRUCT_FUNCTION (fndecl)->outgoing_args_size == 0) for (insn = first_insn; insn; insn = NEXT_INSN (insn)) if (GET_CODE (insn) == CALL_INSN) break; @@ -1806,8 +1806,9 @@ try_to_integrate (tree fndecl, tree actparms, rtx target, int ignore, value of reg_parm_stack_space is wrong, but gives correct results on all supported machines. */ - int adjust = (DECL_SAVED_INSNS (fndecl)->outgoing_args_size - + reg_parm_stack_space); + int adjust = + (DECL_STRUCT_FUNCTION (fndecl)->outgoing_args_size + + reg_parm_stack_space); start_sequence (); emit_stack_save (SAVE_BLOCK, &old_stack_level, NULL_RTX); @@ -2194,8 +2195,8 @@ expand_call (tree exp, rtx target, int ignore) if (!flag_no_inline && fndecl != current_function_decl && DECL_INLINE (fndecl) - && DECL_SAVED_INSNS (fndecl) - && DECL_SAVED_INSNS (fndecl)->inlinable) + && DECL_STRUCT_FUNCTION (fndecl) + && DECL_STRUCT_FUNCTION (fndecl)->inlinable) is_integrable = 1; else if (! TREE_ADDRESSABLE (fndecl)) { |