aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 8299ee9..c67d300 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -2203,9 +2203,8 @@ cgraph_node::dump (FILE *f)
fprintf (f, " %soperator_delete",
DECL_IS_REPLACEABLE_OPERATOR (decl) ? "replaceable_" : "");
- function *fn = DECL_STRUCT_FUNCTION (decl);
- if (fn != NULL && fn->static_chain_decl)
- fprintf (f, " static_chain_decl");
+ if (DECL_STATIC_CHAIN (decl))
+ fprintf (f, " static_chain");
fprintf (f, "\n");