diff options
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r-- | gcc/lto-cgraph.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c index d2807411236..8a2a5c8a3c9 100644 --- a/gcc/lto-cgraph.c +++ b/gcc/lto-cgraph.c @@ -204,7 +204,7 @@ lto_set_symtab_encoder_encode_body (lto_symtab_encoder_t encoder, bool lto_symtab_encoder_encode_initializer_p (lto_symtab_encoder_t encoder, - struct varpool_node *node) + varpool_node *node) { int index = lto_symtab_encoder_lookup (encoder, node); if (index == LCC_NOT_FOUND) @@ -216,7 +216,7 @@ lto_symtab_encoder_encode_initializer_p (lto_symtab_encoder_t encoder, static void lto_set_symtab_encoder_encode_initializer (lto_symtab_encoder_t encoder, - struct varpool_node *node) + varpool_node *node) { int index = lto_symtab_encoder_lookup (encoder, node); encoder->nodes[index].initializer = true; @@ -539,7 +539,7 @@ lto_output_node (struct lto_simple_output_block *ob, struct cgraph_node *node, If NODE is not in SET, then NODE is a boundary. */ static void -lto_output_varpool_node (struct lto_simple_output_block *ob, struct varpool_node *node, +lto_output_varpool_node (struct lto_simple_output_block *ob, varpool_node *node, lto_symtab_encoder_t encoder) { bool boundary_p = !lto_symtab_encoder_in_partition_p (encoder, node); @@ -796,7 +796,7 @@ compute_ltrans_boundary (lto_symtab_encoder_t in_encoder) for (lsei = lsei_start_variable_in_partition (in_encoder); !lsei_end_p (lsei); lsei_next_variable_in_partition (&lsei)) { - struct varpool_node *vnode = lsei_varpool_node (lsei); + varpool_node *vnode = lsei_varpool_node (lsei); lto_set_symtab_encoder_in_partition (encoder, vnode); lto_set_symtab_encoder_encode_initializer (encoder, vnode); @@ -804,7 +804,7 @@ compute_ltrans_boundary (lto_symtab_encoder_t in_encoder) /* For proper debug info, we need to ship the origins, too. */ if (DECL_ABSTRACT_ORIGIN (vnode->decl)) { - struct varpool_node *origin_node + varpool_node *origin_node = varpool_get_node (DECL_ABSTRACT_ORIGIN (node->decl)); lto_set_symtab_encoder_in_partition (encoder, origin_node); } @@ -1113,13 +1113,13 @@ input_node (struct lto_file_decl_data *file_data, /* Read a node from input_block IB. TAG is the node's tag just read. Return the node read or overwriten. */ -static struct varpool_node * +static varpool_node * input_varpool_node (struct lto_file_decl_data *file_data, struct lto_input_block *ib) { int decl_index; tree var_decl; - struct varpool_node *node; + varpool_node *node; struct bitpack_d bp; int ref = LCC_NOT_FOUND; int order; |