aboutsummaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-10-26 08:34:46 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-10-26 08:34:46 +0000
commit2af0ac2840b9c719483401c5c0c90d589d63b5c3 (patch)
treedb6b933a6722ed9333f4f346ff709a8b93827c41 /gcc/integrate.c
parentce7cbc76392ccc554f93f96be61152ae0e5f8dea (diff)
downloadgcc-2af0ac2840b9c719483401c5c0c90d589d63b5c3.zip
gcc-2af0ac2840b9c719483401c5c0c90d589d63b5c3.tar.gz
gcc-2af0ac2840b9c719483401c5c0c90d589d63b5c3.tar.bz2
tree.h (BLOCK_TYPE_TAGS): Remove.
* tree.h (BLOCK_TYPE_TAGS): Remove. (BLOCK_END_NOTE): Likewise. (BLOCK_LIVE_RANGE_FLAG): Likewise. (BLOCK_LIVE_RANGE_START): Likewise. (BLOCK_LIVE_RANGE_END): Likewise. (tree_block): Remove live_range_flag, live_range_var_flag, and type_tags. Remove end_note, live_range_start, and live_range_end. (remember_end_note): Remove prototype. * tree.c (build_block): Don't set BLOCK_TYPE_TAGS. * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call remember_end_note. * ggc-common.c (ggc_mark_tree_children): Don't mark BLOCK_TYPE_TAGS or BLOCK_END_NOTE. * integrate.c (adjust_copied_decl_tree): Remove. * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS. * stmt.c (last_block_end_note): Remove. (init_stmt): Don't add a GC root for it. (expand_fixup): Don't set it. (remember_end_note): Remove. (expand_end_bindings): Don't set last_block_end_note. * ch-tree.h (remember_end_note): Remove prototype. * decl.c (poplevel): Don't call remember_end_note. * decl.c (poplevel): Don't set BLOCK_TYPE_TAGS. Don't call remember_end_note. * com.c (poplevel): Don't call remember_end_note. * decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call remember_end_note. From-SVN: r30188
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 6c5abe8..2bfbecf 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -63,7 +63,6 @@ extern struct obstack *function_maybepermanent_obstack;
#endif
static rtvec initialize_for_inline PROTO((tree));
-static void adjust_copied_decl_tree PROTO((tree));
static void note_modified_parmregs PROTO((rtx, rtx));
static void integrate_parm_decls PROTO((tree, struct inline_remap *,
rtvec));
@@ -292,30 +291,6 @@ initialize_for_inline (fndecl)
return arg_vector;
}
-/* Adjust the BLOCK_END_NOTE pointers in a given copied DECL tree so that
- they all point to the new (copied) rtxs. */
-
-static void
-adjust_copied_decl_tree (block)
- register tree block;
-{
- register tree subblock;
- register rtx original_end;
-
- original_end = BLOCK_END_NOTE (block);
- if (original_end)
- {
- BLOCK_END_NOTE (block) = (rtx) NOTE_SOURCE_FILE (original_end);
- NOTE_SOURCE_FILE (original_end) = 0;
- }
-
- /* Process all subblocks. */
- for (subblock = BLOCK_SUBBLOCKS (block);
- subblock;
- subblock = TREE_CHAIN (subblock))
- adjust_copied_decl_tree (subblock);
-}
-
/* Copy NODE (as with copy_node). NODE must be a DECL. Set the
DECL_ABSTRACT_ORIGIN for the new accordinly. */