diff options
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index 7b27b972ea6..d4a52a76671 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -784,7 +784,7 @@ fixup_call_stmt_edges_1 (struct cgraph_node *node, gimple *stmts, fatal_error ("Cgraph edge statement index not found"); } for (i = 0; - ipa_ref_list_reference_iterate (&node->symbol.ref_list, i, ref); + ipa_ref_list_reference_iterate (&node->ref_list, i, ref); i++) if (ref->lto_stmt_uid) { @@ -807,7 +807,7 @@ fixup_call_stmt_edges (struct cgraph_node *orig, gimple *stmts) while (orig->clone_of) orig = orig->clone_of; - fn = DECL_STRUCT_FUNCTION (orig->symbol.decl); + fn = DECL_STRUCT_FUNCTION (orig->decl); fixup_call_stmt_edges_1 (orig, stmts, fn); if (orig->clones) @@ -1024,7 +1024,7 @@ lto_read_body (struct lto_file_decl_data *file_data, struct cgraph_node *node, int string_offset; struct lto_input_block ib_cfg; struct lto_input_block ib_main; - tree fn_decl = node->symbol.decl; + tree fn_decl = node->decl; header = (const struct lto_function_header *) data; cfg_offset = sizeof (struct lto_function_header); |