diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-18 15:11:31 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-18 15:11:31 +0000 |
commit | 8c97cf13879a4874c4e3ae954056fef4e3a3fafa (patch) | |
tree | e0aded8319864b2cb6fac4df0732bb5ee1995039 /gcc/local-alloc.c | |
parent | b4620157c3800fe19422bd4c4151827fb37cc246 (diff) | |
download | gcc-8c97cf13879a4874c4e3ae954056fef4e3a3fafa.tar.gz |
* basic-block.h (reg_set_iterator): New.
(EXECUTE_IF_SET_IN_REG_SET): Make it iterator style.
(EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise.
(EXECUTE_IF_AND_IN_REG_SET): Likewise.
* caller-save.c (save_call_clobbered_regs): Adjust to the new
style.
* cfgcleanup.c (thread_jump): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* flow.c (verify_local_live_at_start, update_life_info,
initialize_uninitialized_subregs, propagate_one_insn,
init_propagate_block_info, free_propagate_block_info,
propagate_block, dump_regset): Likewise.
* global.c (global_conflicts): Likewise.
* graph.c (start_bb): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (load_mems): Likewise.
* reload1.c (compute_use_by_pseudos, order_regs_for_reload,
find_reg, finish_spills): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* sched-deps.c (sched_analyze_insn): Likewise.
* sched-rgn.c (sched-rgn.c): Likewise.
* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89226 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 64db8c4258f..ebda9dd8840 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1128,14 +1128,17 @@ update_equiv_regs (void) } } else - EXECUTE_IF_SET_IN_REG_SET (&cleared_regs, 0, j, - { - FOR_EACH_BB (bb) - { - CLEAR_REGNO_REG_SET (bb->global_live_at_start, j); - CLEAR_REGNO_REG_SET (bb->global_live_at_end, j); - } - }); + { + reg_set_iterator rsi; + EXECUTE_IF_SET_IN_REG_SET (&cleared_regs, 0, j, rsi) + { + FOR_EACH_BB (bb) + { + CLEAR_REGNO_REG_SET (bb->global_live_at_start, j); + CLEAR_REGNO_REG_SET (bb->global_live_at_end, j); + } + } + } } /* Clean up. */ |