aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-08-02 21:43:22 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1992-08-02 21:43:22 -0400
commit1b2ac4385969172205bbd8bb3d3f747a08e5fee1 (patch)
treee723443c057a922b958787d2f31352ad71f85ad9 /gcc
parent3da3fb2f61c0ba9fc62c4aa3e7d53af332b6c4a4 (diff)
downloadgcc-1b2ac4385969172205bbd8bb3d3f747a08e5fee1.zip
gcc-1b2ac4385969172205bbd8bb3d3f747a08e5fee1.tar.gz
gcc-1b2ac4385969172205bbd8bb3d3f747a08e5fee1.tar.bz2
(identify_blocks, reorder_blocks): Don't use SET_NOTE_BLOCK_NUMBER.
From-SVN: r1756
Diffstat (limited to 'gcc')
-rw-r--r--gcc/function.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 92502eb..b671862 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -1,5 +1,5 @@
/* Expands front end tree to back end RTL for GNU C-Compiler
- Copyright (C) 1987, 1988, 1989, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -3569,12 +3569,12 @@ identify_blocks (top_block, insns)
{
block_stack[depth++] = current_block_number;
current_block_number = next_block_number;
- SET_NOTE_BLOCK_NUMBER (insn, next_block_number++);
+ NOTE_BLOCK_NUMBER (insn) = next_block_number++;
}
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_END)
{
current_block_number = block_stack[--depth];
- SET_NOTE_BLOCK_NUMBER (insn, current_block_number);
+ NOTE_BLOCK_NUMBER (insn) = current_block_number;
}
}
@@ -3610,14 +3610,14 @@ reorder_blocks (block_vector, insns)
BLOCK_CHAIN (block) = BLOCK_SUBBLOCKS (current_block);
BLOCK_SUBBLOCKS (current_block) = block;
current_block = block;
- SET_NOTE_BLOCK_NUMBER (insn, 0);
+ NOTE_SOURCE_FILE (insn) = 0;
}
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_END)
{
BLOCK_SUBBLOCKS (current_block)
= blocks_nreverse (BLOCK_SUBBLOCKS (current_block));
current_block = BLOCK_SUPERCONTEXT (current_block);
- SET_NOTE_BLOCK_NUMBER (insn, 0);
+ NOTE_SOURCE_FILE (insn) = 0;
}
}