8sa1-gcc/gcc/java
Jan Hubicka 084c177908 java-tree.h (DECL_NUM_STMTS): Rename to...
* java-tree.h (DECL_NUM_STMTS): Rename to...
	(DECL_ESTIMATED_INSNS): ... this.
	* lang.c (java_estimate_num_insns, java_estimate_num_insns_1):
	New static functions.
	(LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): Define.
	* parser.y (add_stmt_to_compound): Do not account statements.

	* cp-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
	* decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
	(start_function): Use DECL_ESTIMATED_INSNS.
	* optimize.c (maybe_clone_body): Use DECL_ESTIMATED_INSNS.

	* decl2.c (maybe_emit_vtables): Fix marking vtables as needed in
	unit-at-a-time

	* c-common.c (c_estimate_num_insns_1): New static function.
	(c_estimate_num_insns): New global function.
	* c-common.h (DECL_NUM_STMTS): Rename to...
	(DECL_ESTIMATED_INSNS): ... this.
	(c_estimate_num_insns): Declare.
	* c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
	* c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
	* c-semantics.c (add_stmt): Do not account statements.
	* langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
	New.
	* langhooks.h (lang_hooks_for_tree_inlining): Add
	estimate_num_insns
	* params.def (max-inline-insns-auto, max-inline-insns-auto): set
	to 100.
	(max-inline-insns): set to 300.
	(min-inline-insns): set to 10.
	* tree-inline.c (struct inline_data): Rename inlined_stmts to
	inlined-insns.
	(INSNS_PER_STMT): Kill.
	(inlinable_function_p): Compute and store body size.
	(expand_call_inline): Likewise.
	(optimize_inline_calls): Likewise.

From-SVN: r69113
2003-07-09 00:31:20 +00:00
..
.cvsignore
boehm.c
buffer.c
buffer.h
builtins.c builtins.c (define_builtin_type, [...]): Delete. 2003-06-08 18:17:53 +00:00
ChangeLog java-tree.h (DECL_NUM_STMTS): Rename to... 2003-07-09 00:31:20 +00:00
chartables.h
check-init.c
class.c * c-format.c (check_format_string, get_constant) 2003-06-28 00:30:31 +00:00
config-lang.in
constants.c
convert.h
decl.c c-tree.h (define_label): Replace filename and lineno arguments with a location_t. 2003-07-01 09:00:45 +00:00
except.c
expr.c rtl.h (emit_line_note): Take a location_t. 2003-07-07 17:57:30 +00:00
gcj.texi * gcj.texi: CNI now expands to Compiled Native Interface. 2003-07-08 21:25:54 +00:00
gen-table.pl
gjavah.c dbxout.c (flag_debug_only_used_symbols): Delete redundant declaration. 2003-06-28 00:42:31 +00:00
java-except.h
java-opcodes.h
java-tree.def
java-tree.h java-tree.h (DECL_NUM_STMTS): Rename to... 2003-07-09 00:31:20 +00:00
javaop.def
javaop.h
jcf-depend.c
jcf-dump.c
jcf-io.c
jcf-parse.c * c-format.c (check_format_string, get_constant) 2003-06-28 00:30:31 +00:00
jcf-path.c system.h: Include filenames.h. 2003-07-03 04:24:01 +00:00
jcf-reader.c
jcf-write.c system.h: Include filenames.h. 2003-07-03 04:24:01 +00:00
jcf.h system.h: Include filenames.h. 2003-07-03 04:24:01 +00:00
jv-scan.c Make-lang.in (java/parse.o, [...]): Depend on input.h. 2003-05-04 14:05:15 +00:00
jvgenmain.c
jvspec.c jvspec.c (jvgenmain_spec): Added `*' after fassume-compiled and fno-assume-compiled. 2003-06-08 19:02:17 +00:00
keyword.gperf
keyword.h
lang-options.h
lang-specs.h lang-specs.h: Rewrite -MD and -MMD to append an underscore. 2003-06-14 22:25:50 +00:00
lang.c java-tree.h (DECL_NUM_STMTS): Rename to... 2003-07-09 00:31:20 +00:00
lang.opt c-opts.c (c_common_handle_option): s/on/value/. 2003-06-16 05:47:07 +00:00
lex.c diagnostic.c (output_format): Add support for %m. 2003-05-13 18:06:52 +00:00
lex.h Make-lang.in (java/parse.o, [...]): Depend on input.h. 2003-05-04 14:05:15 +00:00
Make-lang.in Make-lang.in (f/g77.dvi): Use PWD_COMMAND. 2003-07-08 16:00:54 +00:00
mangle_name.c
mangle.c
parse-scan.y dbxout.c (flag_debug_only_used_symbols): Delete redundant declaration. 2003-06-28 00:42:31 +00:00
parse.h tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is removed. 2003-06-09 12:57:15 +00:00
parse.y java-tree.h (DECL_NUM_STMTS): Rename to... 2003-07-09 00:31:20 +00:00
resource.c tree.h (expand_function_end): Remove all parameters. 2003-06-20 09:08:23 +00:00
typeck.c
verify.c
win32-host.c * win32-host.c: Normalize copyright boilerplate. 2003-05-23 18:18:49 +00:00
xref.c
xref.h
zextract.c
zipfile.h