summaryrefslogtreecommitdiff
path: root/gcc/global.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/global.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/global.c')
-rw-r--r--gcc/global.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 063de9a9e00..a3c043b95ee 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -680,7 +680,7 @@ global_conflicts ()
#endif
}
- insn = basic_block_head[b];
+ insn = BLOCK_HEAD (b);
/* Scan the code of this basic block, noting which allocnos
and hard regs are born or die. When one is born,
@@ -777,7 +777,7 @@ global_conflicts ()
mark_reg_death (regs_set[n_regs_set]);
}
- if (insn == basic_block_end[b])
+ if (insn == BLOCK_END (b))
break;
insn = NEXT_INSN (insn);
}
@@ -1667,7 +1667,7 @@ build_insn_chain (first)
{
struct insn_chain *c;
- if (first == basic_block_head[b])
+ if (first == BLOCK_HEAD (b))
{
int i;
CLEAR_REG_SET (live_relevant_regs);
@@ -1727,7 +1727,7 @@ build_insn_chain (first)
}
}
- if (first == basic_block_end[b])
+ if (first == BLOCK_END (b))
b++;
/* Stop after we pass the end of the last basic block. Verify that