diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2020-04-24 16:14:56 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2020-04-28 10:07:31 +0200 |
commit | a55f167fde491f5575f92ea377f90bf69f9db76c (patch) | |
tree | 00c491eee389b6b95516b32e36352e12eb36dd52 | |
parent | 77036c33092f2974cf97756679efaabdc69c604b (diff) | |
download | gcc-a55f167fde491f5575f92ea377f90bf69f9db76c.zip gcc-a55f167fde491f5575f92ea377f90bf69f9db76c.tar.gz gcc-a55f167fde491f5575f92ea377f90bf69f9db76c.tar.bz2 |
Andrew's fix to remove asserts in block cache.
-rw-r--r-- | gcc/gimple-range-cache.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/gimple-range-cache.cc b/gcc/gimple-range-cache.cc index 89a2a35..3220133 100644 --- a/gcc/gimple-range-cache.cc +++ b/gcc/gimple-range-cache.cc @@ -277,7 +277,6 @@ void block_range_cache::set_bb_range (tree name, const basic_block bb, const irange &r) { - gcc_checking_assert (bb != ENTRY_BLOCK_PTR_FOR_FN (cfun)); return get_block_ranges (name).set_bb_range (bb, r); } @@ -286,7 +285,6 @@ block_range_cache::set_bb_range (tree name, const basic_block bb, void block_range_cache::set_bb_varying (tree name, const basic_block bb) { - gcc_checking_assert (bb != ENTRY_BLOCK_PTR_FOR_FN (cfun)); return get_block_ranges (name).set_bb_varying (bb); } @@ -296,7 +294,6 @@ block_range_cache::set_bb_varying (tree name, const basic_block bb) bool block_range_cache::get_bb_range (irange &r, tree name, const basic_block bb) { - gcc_checking_assert (bb != ENTRY_BLOCK_PTR_FOR_FN (cfun)); return get_block_ranges (name).get_bb_range (r, bb); } @@ -305,7 +302,6 @@ block_range_cache::get_bb_range (irange &r, tree name, const basic_block bb) bool block_range_cache::bb_range_p (tree name, const basic_block bb) { - gcc_checking_assert (bb != ENTRY_BLOCK_PTR_FOR_FN (cfun)); return get_block_ranges (name).bb_range_p (bb); } |