diff options
author | Richard Henderson <rth@cygnus.com> | 1999-01-11 14:37:20 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-01-11 14:37:20 -0800 |
commit | 3b413743e0719ecca26e5f5426b6baa837e0a13b (patch) | |
tree | 30a7e0f87a7c337abe0059287db7fcfd192c14ae /gcc/local-alloc.c | |
parent | f0974237d4c4f761f5073cfd93583a571651ba76 (diff) | |
download | gcc-3b413743e0719ecca26e5f5426b6baa837e0a13b.zip gcc-3b413743e0719ecca26e5f5426b6baa837e0a13b.tar.gz gcc-3b413743e0719ecca26e5f5426b6baa837e0a13b.tar.bz2 |
basic-block.h (basic_block_head): Rename to x_basic_block_head.
* basic-block.h (basic_block_head): Rename to x_basic_block_head.
(basic_block_end): Rename to x_basic_block_end.
(BLOCK_HEAD, BLOCK_END): Update.
* caller-save.c: Change basic_block_head/end references to
BLOCK_HEAD/END.
* combine.c, flow.c, function.c, gcse.c, global.c: Likewise.
* graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise.
* regmove.c, reload1.c, reorg.c, sched.c: Likewise.
From-SVN: r24622
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 0c7e248..660efce 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -888,7 +888,7 @@ update_equiv_regs () /* Keep track of which basic block we are in. */ if (block + 1 < n_basic_blocks - && basic_block_head[block + 1] == insn) + && BLOCK_HEAD (block + 1) == insn) ++block; if (GET_RTX_CLASS (GET_CODE (insn)) != 'i') @@ -962,8 +962,8 @@ update_equiv_regs () REG_N_CALLS_CROSSED (regno) = 0; REG_LIVE_LENGTH (regno) = 2; - if (block >= 0 && insn == basic_block_head[block]) - basic_block_head[block] = PREV_INSN (insn); + if (block >= 0 && insn == BLOCK_HEAD (block)) + BLOCK_HEAD (block) = PREV_INSN (insn); for (l = 0; l < n_basic_blocks; l++) CLEAR_REGNO_REG_SET (basic_block_live_at_start[l], regno); @@ -1020,13 +1020,13 @@ block_alloc (b) /* Count the instructions in the basic block. */ - insn = basic_block_end[b]; + insn = BLOCK_END (b); while (1) { if (GET_CODE (insn) != NOTE) if (++insn_count > max_uid) abort (); - if (insn == basic_block_head[b]) + if (insn == BLOCK_HEAD (b)) break; insn = PREV_INSN (insn); } @@ -1045,7 +1045,7 @@ block_alloc (b) and assigns quantities to registers. It computes which registers to tie. */ - insn = basic_block_head[b]; + insn = BLOCK_HEAD (b); while (1) { register rtx body = PATTERN (insn); @@ -1283,7 +1283,7 @@ block_alloc (b) IOR_HARD_REG_SET (regs_live_at[2 * insn_number], regs_live); IOR_HARD_REG_SET (regs_live_at[2 * insn_number + 1], regs_live); - if (insn == basic_block_end[b]) + if (insn == BLOCK_END (b)) break; insn = NEXT_INSN (insn); |