aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
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;