summaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 173067f65cf..58084cd0148 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -619,7 +619,7 @@ lto_output_ref (struct lto_simple_output_block *ob, struct ipa_ref *ref,
gcc_assert (nref != LCC_NOT_FOUND);
streamer_write_hwi_stream (ob->main_stream, nref);
- node = dyn_cast <cgraph_node> (ref->referring);
+ node = dyn_cast <cgraph_node *> (ref->referring);
if (node)
{
if (ref->stmt)
@@ -753,7 +753,7 @@ add_references (lto_symtab_encoder_t encoder,
int i;
struct ipa_ref *ref;
for (i = 0; ipa_ref_list_reference_iterate (list, i, ref); i++)
- if (is_a <cgraph_node> (ref->referred))
+ if (is_a <cgraph_node *> (ref->referred))
add_node_to (encoder, ipa_ref_node (ref), false);
else
lto_symtab_encoder_encode (encoder, ref->referred);
@@ -819,7 +819,7 @@ compute_ltrans_boundary (lto_symtab_encoder_t in_encoder)
for (i = 0; i < lto_symtab_encoder_size (encoder); i++)
{
symtab_node *node = lto_symtab_encoder_deref (encoder, i);
- if (varpool_node *vnode = dyn_cast <varpool_node> (node))
+ if (varpool_node *vnode = dyn_cast <varpool_node *> (node))
{
if (!lto_symtab_encoder_encode_initializer_p (encoder,
vnode)
@@ -913,7 +913,7 @@ output_symtab (void)
for (i = 0; i < n_nodes; i++)
{
symtab_node *node = lto_symtab_encoder_deref (encoder, i);
- if (cgraph_node *cnode = dyn_cast <cgraph_node> (node))
+ if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node))
lto_output_node (ob, cnode, encoder);
else
lto_output_varpool_node (ob, varpool (node), encoder);
@@ -1199,7 +1199,7 @@ input_ref (struct lto_input_block *ib,
node = nodes[streamer_read_hwi (ib)];
ref = ipa_record_reference (referring_node, node, use, NULL);
ref->speculative = speculative;
- if (is_a <cgraph_node> (referring_node))
+ if (is_a <cgraph_node *> (referring_node))
ref->lto_stmt_uid = streamer_read_hwi (ib);
}
@@ -1316,12 +1316,12 @@ input_cgraph_1 (struct lto_file_decl_data *file_data,
/* AUX pointers should be all non-zero for function nodes read from the stream. */
#ifdef ENABLE_CHECKING
FOR_EACH_VEC_ELT (nodes, i, node)
- gcc_assert (node->aux || !is_a <cgraph_node> (node));
+ gcc_assert (node->aux || !is_a <cgraph_node *> (node));
#endif
FOR_EACH_VEC_ELT (nodes, i, node)
{
int ref;
- if (cgraph_node *cnode = dyn_cast <cgraph_node> (node))
+ if (cgraph_node *cnode = dyn_cast <cgraph_node *> (node))
{
ref = (int) (intptr_t) cnode->global.inlined_to;
@@ -1346,7 +1346,7 @@ input_cgraph_1 (struct lto_file_decl_data *file_data,
node->same_comdat_group = NULL;
}
FOR_EACH_VEC_ELT (nodes, i, node)
- node->aux = is_a <cgraph_node> (node) ? (void *)1 : NULL;
+ node->aux = is_a <cgraph_node *> (node) ? (void *)1 : NULL;
return nodes;
}
@@ -1696,7 +1696,7 @@ output_cgraph_opt_summary (void)
for (i = 0; i < n_nodes; i++)
{
symtab_node *node = lto_symtab_encoder_deref (encoder, i);
- cgraph_node *cnode = dyn_cast <cgraph_node> (node);
+ cgraph_node *cnode = dyn_cast <cgraph_node *> (node);
if (cnode && output_cgraph_opt_summary_p (cnode))
count++;
}
@@ -1704,7 +1704,7 @@ output_cgraph_opt_summary (void)
for (i = 0; i < n_nodes; i++)
{
symtab_node *node = lto_symtab_encoder_deref (encoder, i);
- cgraph_node *cnode = dyn_cast <cgraph_node> (node);
+ cgraph_node *cnode = dyn_cast <cgraph_node *> (node);
if (cnode && output_cgraph_opt_summary_p (cnode))
{
streamer_write_uhwi (ob, i);