diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 09:30:04 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 09:30:04 +0000 |
commit | ae85a37ae0290595cf4b6b5729877a8f080d4d7e (patch) | |
tree | 19da8d45d735bf932467e92c989a251abed7bb43 /gcc/basic-block.h | |
parent | 42e3bfc054b48393e3473eea5ea7a2a75fdfae22 (diff) | |
download | gcc-ae85a37ae0290595cf4b6b5729877a8f080d4d7e.tar.gz |
* basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
(ALLOC_REG_SET): ... here.
(FREE_REG_SET): Adjust.
(XMALLOC_REG_SET, XFREE_REG_SET): Remove.
* bb-reorder.c (fix_crossing_conditional_branches): Adjust.
* cfglayout.c (cfg_layout_duplicate_bb): Adjust.
* cfgrtl.c (rtl_split_block, rtl_split_edge,
safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
* flow.c (update_life_info, calculate_global_regs_live,
allocate_bb_life_data, init_propagate_block_info): Adjust.
* global.c (build_insn_chain): Adjust.
* ifcvt.c (dead_or_predicable): Adjust.
* loop-iv.c (simplify_using_initial_values): Adjust.
* recog.c (peephole2_optimize): Adjust.
* sched-deps.c (init_deps_global): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 614dc88ffdd..277888b13e2 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -37,6 +37,12 @@ typedef bitmap_head regset_head; /* A pointer to a regset_head. */ typedef bitmap regset; +/* Allocate a register set with oballoc. */ +#define ALLOC_REG_SET(OBSTACK) BITMAP_OBSTACK_ALLOC (OBSTACK) + +/* Do any cleanup needed on a regset when it is no longer used. */ +#define FREE_REG_SET(REGSET) BITMAP_OBSTACK_FREE (REGSET) + /* Initialize a new regset. */ #define INIT_REG_SET(HEAD) bitmap_initialize (HEAD, ®_obstack) @@ -101,18 +107,6 @@ typedef bitmap_iterator reg_set_iterator; #define EXECUTE_IF_AND_IN_REG_SET(REGSET1, REGSET2, MIN, REGNUM, RSI) \ EXECUTE_IF_AND_IN_BITMAP (REGSET1, REGSET2, MIN, REGNUM, RSI) \ -/* Allocate a register set with oballoc. */ -#define OBSTACK_ALLOC_REG_SET(OBSTACK) BITMAP_OBSTACK_ALLOC (OBSTACK) - -/* Do any cleanup needed on a regset when it is no longer used. */ -#define FREE_REG_SET(REGSET) BITMAP_OBSTACK_FREE(REGSET) - -/* Allocate a register set with xmalloc. */ -#define XMALLOC_REG_SET() BITMAP_XMALLOC () - -/* Free a register set. */ -#define XFREE_REG_SET(REGSET) BITMAP_XFREE (REGSET) - /* Type we use to hold basic block counters. Should be at least 64bit. Although a counter cannot be negative, we use a signed type, because erroneous negative counts can be generated when the |