From 1b2ac4385969172205bbd8bb3d3f747a08e5fee1 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 2 Aug 1992 21:43:22 -0400 Subject: [PATCH] (identify_blocks, reorder_blocks): Don't use SET_NOTE_BLOCK_NUMBER. From-SVN: r1756 --- gcc/function.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/function.c b/gcc/function.c index 92502eb9369..b6718620fd2 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; } } -- 2.30.2