aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-sese-to-poly.c
diff options
context:
space:
mode:
authorAditya Kumar <aditya.k7@samsung.com>2015-12-24 16:41:57 +0000
committerSebastian Pop <spop@gcc.gnu.org>2015-12-24 16:41:57 +0000
commit1cb287721a2d556baf84dd9850870ef317edc1a9 (patch)
tree81518d888ddc03ee3062d88b582ab57231044c67 /gcc/graphite-sese-to-poly.c
parent402cab17fd7775cf392b1464df86ca3cc445accf (diff)
downloadgcc-1cb287721a2d556baf84dd9850870ef317edc1a9.zip
gcc-1cb287721a2d556baf84dd9850870ef317edc1a9.tar.gz
gcc-1cb287721a2d556baf84dd9850870ef317edc1a9.tar.bz2
Use const-ref instead of values for sese_l passed to functions.
gcc/ChangeLog: 2015-12-24 hiraditya <hiraditya@msn.com> * graphite-sese-to-poly.c (build_loop_iteration_domains): Use ref instead of value. * sese.c (invariant_in_sese_p_rec): Use const ref instead of value. (scalar_evolution_in_region): Same * sese.h (bb_in_region): Same (bb_in_sese_p): Same. (stmt_in_sese_p): Same. (defined_in_sese_p): Same. (loop_in_sese_p): Same. From-SVN: r231947
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r--gcc/graphite-sese-to-poly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c
index 7992c28..a7fd5d9 100644
--- a/gcc/graphite-sese-to-poly.c
+++ b/gcc/graphite-sese-to-poly.c
@@ -465,7 +465,7 @@ build_loop_iteration_domains (scop_p scop, struct loop *loop,
{
tree nb_iters = number_of_latch_executions (loop);
- sese_l region = scop->scop_info->region;
+ const sese_l& region = scop->scop_info->region;
gcc_assert (loop_in_sese_p (loop, region));
isl_set *inner = isl_set_copy (outer);