diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-04 08:57:55 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-04 08:57:55 +0000 |
commit | 73b04688db0c71affd8ed35e5bb0ebc60458e631 (patch) | |
tree | 381c370b2e2063e2c34f68b24e68b22e0c832bd8 /gcc/global.c | |
parent | 4f917ffebf5b8c1f4f277254c8965ac98d53478d (diff) | |
download | gcc-73b04688db0c71affd8ed35e5bb0ebc60458e631.tar.gz |
* bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
* df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
bitmap_and_into, bitmap_ior_into as appropriate.
* except.c (remove_eh_handler): Likewise.
* global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
* tree-dfa.c (mark_new_vars_to_rename): Likewise.
* tree-ssa-alias.c (merge_pointed_to_info): Likewise.
* tree-ssa-live.h (live_merge_and_clear): Likewise.
* tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/global.c')
-rw-r--r-- | gcc/global.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/global.c b/gcc/global.c index 728914b947f..0cda11f83b5 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -2306,7 +2306,7 @@ modify_bb_reg_pav (basic_block bb, basic_block pred, bool changed_p) bb_pavin = bb_info->pavin; bb_pavout = bb_info->pavout; if (pred->index != ENTRY_BLOCK) - bitmap_a_or_b (bb_pavin, bb_pavin, BB_INFO (pred)->pavout); + bitmap_ior_into (bb_pavin, BB_INFO (pred)->pavout); changed_p |= bitmap_ior_and_compl (bb_pavout, bb_info->avloc, bb_pavin, bb_info->killed); return changed_p; @@ -2405,14 +2405,14 @@ modify_reg_pav (void) insn if the pseudo-register is used first time in given BB and not lived at the BB start. To prevent this we don't change life information for such pseudo-registers. */ - bitmap_a_or_b (bb_info->pavin, bb_info->pavin, bb_info->earlyclobber); + bitmap_ior_into (bb_info->pavin, bb_info->earlyclobber); #ifdef STACK_REGS /* We can not use the same stack register for uninitialized pseudo-register and another living pseudo-register because if the uninitialized pseudo-register dies, subsequent pass reg-stack will be confused (it will believe that the other register dies). */ - bitmap_a_or_b (bb_info->pavin, bb_info->pavin, stack_regs); + bitmap_ior_into (bb_info->pavin, stack_regs); #endif } #ifdef STACK_REGS @@ -2444,10 +2444,8 @@ make_accurate_live_analysis (void) { bb_info = BB_INFO (bb); - bitmap_a_and_b (bb->global_live_at_start, bb->global_live_at_start, - bb_info->pavin); - bitmap_a_and_b (bb->global_live_at_end, bb->global_live_at_end, - bb_info->pavout); + bitmap_and_into (bb->global_live_at_start, bb_info->pavin); + bitmap_and_into (bb->global_live_at_end, bb_info->pavout); } free_bb_info (); } |