diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-11 22:37:20 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-01-11 22:37:20 +0000 |
commit | 68676d00311605a8ea7d8b5698e3508465a8fbdb (patch) | |
tree | 30a7e0f87a7c337abe0059287db7fcfd192c14ae /gcc/graph.c | |
parent | 0a244baed44e7f9aa9464b1485e529b9452587bc (diff) | |
download | gcc-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/graph.c')
-rw-r--r-- | gcc/graph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index a60cd42db43..4de3829809e 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -292,14 +292,14 @@ print_rtl_graph_with_bb (base, suffix, rtx_first) for (i = n_basic_blocks - 1; i >= 0; --i) { rtx x; - start[INSN_UID (basic_block_head[i])] = i; - end[INSN_UID (basic_block_end[i])] = i; - for (x = basic_block_head[i]; x != NULL_RTX; x = NEXT_INSN (x)) + start[INSN_UID (BLOCK_HEAD (i))] = i; + end[INSN_UID (BLOCK_END (i))] = i; + for (x = BLOCK_HEAD (i); x != NULL_RTX; x = NEXT_INSN (x)) { in_bb_p[INSN_UID (x)] = (in_bb_p[INSN_UID (x)] == NOT_IN_BB) ? IN_ONE_BB : IN_MULTIPLE_BB; - if (x == basic_block_end[i]) + if (x == BLOCK_END (i)) break; } } |