aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-02-17 21:33:43 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-02-17 21:33:43 +0000
commit1da326c33559e8a114bc379ec7c8f805dd37aef6 (patch)
tree58f53ff8b90ef0d35498ee8d08bb3febee99cd2b /gcc/function.c
parent65c0764148b74f9dda9348242e6ddf6b7733278b (diff)
downloadgcc-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/function.c')
-rw-r--r--gcc/function.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c
index d51edde..bbb9a51 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -6414,7 +6414,7 @@ allocate_struct_function (tree fndecl)
if (fndecl == NULL)
return;
- DECL_SAVED_INSNS (fndecl) = cfun;
+ DECL_STRUCT_FUNCTION (fndecl) = cfun;
cfun->decl = fndecl;
result = DECL_RESULT (fndecl);
@@ -6439,8 +6439,8 @@ allocate_struct_function (tree fndecl)
static void
prepare_function_start (tree fndecl)
{
- if (fndecl && DECL_SAVED_INSNS (fndecl))
- cfun = DECL_SAVED_INSNS (fndecl);
+ if (fndecl && DECL_STRUCT_FUNCTION (fndecl))
+ cfun = DECL_STRUCT_FUNCTION (fndecl);
else
allocate_struct_function (fndecl);
init_emit ();