This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] tree-inline.c: Remove INSNS_PER_STMT.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Apr 2005 23:11:02 -0400 (EDT)
- Subject: [patch] tree-inline.c: Remove INSNS_PER_STMT.
Hi,
Attached is a patch to remove INSNS_PER_STMT as it became unused when
tree-ssa was merged into mainline.
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2005-04-13 Kazu Hirata <kazu@cs.umass.edu>
* tree-inline.c (INSNS_PER_STMT): Remove.
Index: tree-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-inline.c,v
retrieving revision 1.179
diff -u -d -p -r1.179 tree-inline.c
--- tree-inline.c 5 Apr 2005 20:09:58 -0000 1.179
+++ tree-inline.c 9 Apr 2005 17:40:26 -0000
@@ -117,11 +117,6 @@ typedef struct inline_data
/* Prototypes. */
-/* The approximate number of instructions per statement. This number
- need not be particularly accurate; it is used only to make
- decisions about when a function is too big to inline. */
-#define INSNS_PER_STMT (10)
-
static tree copy_body_r (tree *, int *, void *);
static tree copy_body (inline_data *);
static tree expand_call_inline (tree *, int *, void *);