diff options
Diffstat (limited to 'gcc/lto/lto-partition.c')
-rw-r--r-- | gcc/lto/lto-partition.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 3141ecec07c..2d0663eb93c 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -587,7 +587,7 @@ lto_balanced_map (int n_lto_partitions, int max_partition_size) for (edge = node->callees; edge; edge = edge->next_callee) if (edge->callee->definition) { - int edge_cost = edge->frequency; + int edge_cost = edge->frequency (); int index; if (!edge_cost) @@ -603,7 +603,7 @@ lto_balanced_map (int n_lto_partitions, int max_partition_size) } for (edge = node->callers; edge; edge = edge->next_caller) { - int edge_cost = edge->frequency; + int edge_cost = edge->frequency (); int index; gcc_assert (edge->caller->definition); |