aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>1999-12-16 00:09:35 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-12-15 19:09:35 -0500
commit5afb79e7f856b5a9b4414ee34940b568aa77abe8 (patch)
tree8f73132ac5140a32542ad1c3a7a0a0ab4b8f62b4 /gcc/function.h
parent6150df627a7fb825a10280e54c35c8250e69bae0 (diff)
downloadgcc-5afb79e7f856b5a9b4414ee34940b568aa77abe8.zip
gcc-5afb79e7f856b5a9b4414ee34940b568aa77abe8.tar.gz
gcc-5afb79e7f856b5a9b4414ee34940b568aa77abe8.tar.bz2
function.c (retrofit_block): Abort if we don't find a suitable insn.
* function.c (retrofit_block): Abort if we don't find a suitable insn. (insert_block_after_note): Abort if we don't have a previous block. Remove FN parameter. * function.h: Adjust. * tree.c (walk_tree): Walk operand subtrees in forward order. * optimize.c (expand_call_inline): Likewise. (optimize_function): Initialize id->scope_stmt to something useful. (remap_block): Assume id->scope_stmt has a useful value. From-SVN: r30965
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 059d8e1..0e2b7b8 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -1,5 +1,5 @@
/* Structure for saving state for a nested function.
- Copyright (C) 1989, 92-97, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1989, 92-97, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -545,9 +545,8 @@ extern struct function *outer_function_chain;
extern void identify_blocks PROTO((tree, rtx));
/* Insert the BLOCK in the block-tree, knowing that the previous
block-note is for OLD_BLOCK. BEGIN_P is non-zero if the previous
- block-note was the for the beginning of a BLOCK. FN is the
- FUNCTION_DECL into which the BLOCK is being inserted. */
-extern void insert_block_after_note PROTO((tree, tree, int, tree));
+ block-note was the for the beginning of a BLOCK. */
+extern void insert_block_after_note PROTO((tree, tree, int));
/* Insert a new BLOCK at an appropriate place in the block tree. */
extern void retrofit_block PROTO((tree, rtx));