diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-04 05:26:56 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-04 05:26:56 +0000 |
commit | 3919287057ad8bae85a1ba2de502ffd6b3307bcc (patch) | |
tree | 97f0ccbfcfad87fb60e43cfc9f0e1664349b3533 /gcc/cfganal.c | |
parent | 7c4bf3c579e46f4f4518af8f328b1a30cc0fcc97 (diff) | |
download | gcc-3919287057ad8bae85a1ba2de502ffd6b3307bcc.tar.gz |
* tree-into-ssa.c (mark_block_for_update): Avoid redundant call
of bitmap_bit_p.
* cfganal.c (compute_dominance_frontiers_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfganal.c')
-rw-r--r-- | gcc/cfganal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cfganal.c b/gcc/cfganal.c index 5bb23b77adb..35749bd76a2 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -1275,10 +1275,9 @@ compute_dominance_frontiers_1 (bitmap *frontiers) domsb = get_immediate_dominator (CDI_DOMINATORS, b); while (runner != domsb) { - if (bitmap_bit_p (frontiers[runner->index], b->index)) + if (!bitmap_set_bit (frontiers[runner->index], + b->index)) break; - bitmap_set_bit (frontiers[runner->index], - b->index); runner = get_immediate_dominator (CDI_DOMINATORS, runner); } |