aboutsummaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-01-11 14:37:20 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-01-11 14:37:20 -0800
commit3b413743e0719ecca26e5f5426b6baa837e0a13b (patch)
tree30a7e0f87a7c337abe0059287db7fcfd192c14ae /gcc/regclass.c
parentf0974237d4c4f761f5073cfd93583a571651ba76 (diff)
downloadgcc-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/regclass.c')
-rw-r--r--gcc/regclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 489f824..623dd98 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -868,8 +868,8 @@ scan_one_insn (insn, pass)
{
int b;
for (b = 0; b < n_basic_blocks; b++)
- if (insn == basic_block_head[b])
- basic_block_head[b] = newinsn;
+ if (insn == BLOCK_HEAD (b))
+ BLOCK_HEAD (b) = newinsn;
}
/* This makes one more setting of new insns's dest. */