aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.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/cgraphunit.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/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 78b566f..79bbe6d 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -232,7 +232,7 @@ cgraph_finalize_function (tree decl, bool nested)
/* We will never really output the function body, clear the SAVED_INSNS array
early then. */
if (DECL_EXTERNAL (decl))
- DECL_SAVED_INSNS (decl) = NULL;
+ DECL_STRUCT_FUNCTION (decl) = NULL;
}
/* Walk tree and record all calls. Called via walk_tree. */
@@ -481,7 +481,7 @@ cgraph_mark_functions_to_output (void)
&& !DECL_EXTERNAL (decl))
node->output = 1;
else
- DECL_SAVED_INSNS (decl) = NULL;
+ DECL_STRUCT_FUNCTION (decl) = NULL;
}
}
@@ -861,7 +861,7 @@ cgraph_remove_unreachable_nodes (void)
int local_insns;
tree decl = node->decl;
- if (DECL_SAVED_INSNS (decl))
+ if (DECL_STRUCT_FUNCTION (decl))
local_insns = node->local.self_insns;
else
local_insns = 0;