aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfglayout.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-01 01:00:47 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-01 01:00:47 -0700
commit1ea463a273df44816d63c3f96292341668a88ef0 (patch)
tree4334bddc40c1748c1f49a7fa541c7d618176242a /gcc/cfglayout.c
parentc9b9aa64e97f8ad913c0bfb7897ac187b082d40c (diff)
downloadgcc-1ea463a273df44816d63c3f96292341668a88ef0.zip
gcc-1ea463a273df44816d63c3f96292341668a88ef0.tar.gz
gcc-1ea463a273df44816d63c3f96292341668a88ef0.tar.bz2
function.h (struct function): Remove dont_emit_block_notes.
* function.h (struct function): Remove dont_emit_block_notes. * gimple-low.c (lower_function_body): Don't set it. * cfgexpand.c (expand_block): Don't check it. * cfglayout.c (insn_locators_initialize): Likewise. * expr.c (expand_expr_real, expand_expr_real_1): Likewise. * passes.c (rest_of_compilation): Likewise. * stmt.c (expand_start_bindings_and_block): Likewise. (expand_end_bindings): Likewise. From-SVN: r83959
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r--gcc/cfglayout.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c
index be890d9..3fb2399 100644
--- a/gcc/cfglayout.c
+++ b/gcc/cfglayout.c
@@ -308,19 +308,9 @@ insn_locators_initialize (void)
switch (NOTE_LINE_NUMBER (insn))
{
case NOTE_INSN_BLOCK_BEG:
- if (cfun->dont_emit_block_notes)
- abort ();
- block = NOTE_BLOCK (insn);
- delete_insn (insn);
- break;
case NOTE_INSN_BLOCK_END:
- if (cfun->dont_emit_block_notes)
- abort ();
- block = BLOCK_SUPERCONTEXT (block);
- if (block && TREE_CODE (block) == FUNCTION_DECL)
- block = 0;
- delete_insn (insn);
- break;
+ abort ();
+
default:
if (NOTE_LINE_NUMBER (insn) > 0)
{
@@ -333,16 +323,14 @@ insn_locators_initialize (void)
}
}
- if (cfun->dont_emit_block_notes)
- check_block_change (insn, &block);
+ check_block_change (insn, &block);
}
/* Tag the blocks with a depth number so that change_scope can find
the common parent easily. */
set_block_levels (DECL_INITIAL (cfun->decl), 0);
- if (cfun->dont_emit_block_notes)
- free_block_changes ();
+ free_block_changes ();
}
/* For each lexical block, set BLOCK_NUMBER to the depth at which it is