diff options
Diffstat (limited to 'gcc/dominance.c')
-rw-r--r-- | gcc/dominance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dominance.c b/gcc/dominance.c index ecb7f987fe4..fdd94d2c14b 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -922,7 +922,7 @@ nearest_common_dominator_for_set (enum cdi_direction dir, bitmap blocks) /* Return TRUE in case BB1 is dominated by BB2. */ bool -dominated_by_p (enum cdi_direction dir, basic_block bb1, basic_block bb2) +dominated_by_p (enum cdi_direction dir, const_basic_block bb1, const_basic_block bb2) { unsigned int dir_index = dom_convert_dir_to_idx (dir); struct et_node *n1 = bb1->dom[dir_index], *n2 = bb2->dom[dir_index]; |