summaryrefslogtreecommitdiff
path: root/gcc/caller-save.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-11 22:37:20 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-11 22:37:20 +0000
commit68676d00311605a8ea7d8b5698e3508465a8fbdb (patch)
tree30a7e0f87a7c337abe0059287db7fcfd192c14ae /gcc/caller-save.c
parent0a244baed44e7f9aa9464b1485e529b9452587bc (diff)
downloadgcc-68676d00311605a8ea7d8b5698e3508465a8fbdb.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24622 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/caller-save.c')
-rw-r--r--gcc/caller-save.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c
index 5fffe344642..e68403f7dbb 100644
--- a/gcc/caller-save.c
+++ b/gcc/caller-save.c
@@ -732,8 +732,8 @@ insert_one_insn (chain, before_p, code, pat)
registers from the live sets. */
COPY_REG_SET (new->live_before, chain->live_before);
COPY_REG_SET (new->live_after, chain->live_before);
- if (chain->insn == basic_block_head[chain->block])
- basic_block_head[chain->block] = new->insn;
+ if (chain->insn == BLOCK_HEAD (chain->block))
+ BLOCK_HEAD (chain->block) = new->insn;
}
else
{
@@ -747,8 +747,8 @@ insert_one_insn (chain, before_p, code, pat)
registers from the live sets, and observe REG_UNUSED notes. */
COPY_REG_SET (new->live_before, chain->live_after);
COPY_REG_SET (new->live_after, chain->live_after);
- if (chain->insn == basic_block_end[chain->block])
- basic_block_end[chain->block] = new->insn;
+ if (chain->insn == BLOCK_END (chain->block))
+ BLOCK_END (chain->block) = new->insn;
}
new->block = chain->block;
new->is_caller_save_insn = 1;