summaryrefslogtreecommitdiff
path: root/gcc/trans-mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r--gcc/trans-mem.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index c66278c0110..d7e5a40106f 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -3932,7 +3932,7 @@ get_cg_data (struct cgraph_node **node, bool traverse_aliases)
{
struct tm_ipa_cg_data *d;
- if (traverse_aliases && (*node)->alias)
+ if (traverse_aliases && (*node)->symbol.alias)
*node = cgraph_get_node ((*node)->thunk.alias);
d = (struct tm_ipa_cg_data *) (*node)->symbol.aux;
@@ -4518,7 +4518,7 @@ ipa_tm_mayenterirr_function (struct cgraph_node *node)
/* Recurse on the main body for aliases. In general, this will
result in one of the bits above being set so that we will not
have to recurse next time. */
- if (node->alias)
+ if (node->symbol.alias)
return ipa_tm_mayenterirr_function (cgraph_get_node (node->thunk.alias));
/* What remains is unmarked local functions without items that force
@@ -4678,9 +4678,7 @@ static inline void
ipa_tm_mark_force_output_node (struct cgraph_node *node)
{
cgraph_mark_force_output_node (node);
- /* ??? function_and_variable_visibility will reset
- the needed bit, without actually checking. */
- node->analyzed = 1;
+ node->symbol.analyzed = true;
}
/* Callback data for ipa_tm_create_version_alias. */
@@ -5250,7 +5248,7 @@ ipa_tm_execute (void)
{
/* If this is an alias, make sure its base is queued as well.
we need not scan the callees now, as the base will do. */
- if (node->alias)
+ if (node->symbol.alias)
{
node = cgraph_get_node (node->thunk.alias);
d = get_cg_data (&node, true);
@@ -5393,7 +5391,7 @@ ipa_tm_execute (void)
for (i = 0; i < tm_callees.length (); ++i)
{
node = tm_callees[i];
- if (node->analyzed)
+ if (node->symbol.analyzed)
{
d = get_cg_data (&node, true);
if (d->clone)