aboutsummaryrefslogtreecommitdiff
path: root/gcc/sese.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sese.h')
-rw-r--r--gcc/sese.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sese.h b/gcc/sese.h
index 8afea28..74d3fe3 100644
--- a/gcc/sese.h
+++ b/gcc/sese.h
@@ -45,7 +45,7 @@ void dump_sese (const sese_l &);
/* Get the entry of an sese S. */
static inline basic_block
-get_entry_bb (sese_l &s)
+get_entry_bb (const sese_l &s)
{
return s.entry->dest;
}
@@ -53,7 +53,7 @@ get_entry_bb (sese_l &s)
/* Get the exit of an sese S. */
static inline basic_block
-get_exit_bb (sese_l &s)
+get_exit_bb (const sese_l &s)
{
return s.exit->src;
}