diff options
author | Jan Hubicka <jh@suse.cz> | 2010-06-04 07:26:56 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-06-04 05:26:56 +0000 |
commit | f3cf730bdcfbb8b9132aa3c0d310407815f28c46 (patch) | |
tree | 97f0ccbfcfad87fb60e43cfc9f0e1664349b3533 /gcc/tree-into-ssa.c | |
parent | 95f4cd5829fb78c97758c2b214a5dc884f0af074 (diff) | |
download | gcc-f3cf730bdcfbb8b9132aa3c0d310407815f28c46.zip gcc-f3cf730bdcfbb8b9132aa3c0d310407815f28c46.tar.gz gcc-f3cf730bdcfbb8b9132aa3c0d310407815f28c46.tar.bz2 |
tree-into-ssa.c (mark_block_for_update): Avoid redundant call of bitmap_bit_p.
* tree-into-ssa.c (mark_block_for_update): Avoid redundant call
of bitmap_bit_p.
* cfganal.c (compute_dominance_frontiers_1): Likewise.
From-SVN: r160250
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r-- | gcc/tree-into-ssa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index a095ffd..1468b9f 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -452,9 +452,8 @@ static void mark_block_for_update (basic_block bb) { gcc_assert (blocks_to_update != NULL); - if (bitmap_bit_p (blocks_to_update, bb->index)) + if (!bitmap_set_bit (blocks_to_update, bb->index)) return; - bitmap_set_bit (blocks_to_update, bb->index); initialize_flags_in_bb (bb); } |