summaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorJeff Sturm <jsturm@one-point.com>2003-09-28 13:23:12 +0000
committerJeff Sturm <jsturm@gcc.gnu.org>2003-09-28 13:23:12 +0000
commit9220b1baed480350ee2c02092e35d8b2a7baaaee (patch)
tree8830d9a6c367999a8683b27ca593208cfa16fe46 /gcc/java/decl.c
parent9442862280e806d61af78837bfe50b4a68848570 (diff)
downloadgcc-9220b1baed480350ee2c02092e35d8b2a7baaaee.tar.gz
decl.c (java_optimize_inline, [...]): Remove.
* decl.c (java_optimize_inline, dump_function): Remove. * java-tree.h (java_optimize_inline): Remove declaration. * jcf-parse.c (java_parse_file): Assume flag_unit_at_a_time is set. * parse.y (source_end_java_method, java_expand_classes): Likewise. Remove dead code. From-SVN: r71882
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 858e0820ac6..074a0931984 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -57,7 +57,6 @@ static struct binding_level *make_binding_level (void);
static tree create_primitive_vtable (const char *);
static tree check_local_named_variable (tree, tree, int, int *);
static tree check_local_unnamed_variable (tree, tree, tree);
-static void dump_function (enum tree_dump_index, tree);
/* Name of the Cloneable class. */
tree java_lang_cloneable_identifier_node;
@@ -1865,33 +1864,6 @@ java_expand_body (tree fndecl)
current_function_decl = NULL_TREE;
}
-/* Dump FUNCTION_DECL FN as tree dump PHASE. */
-
-static void
-dump_function (enum tree_dump_index phase, tree fn)
-{
- FILE *stream;
- int flags;
-
- stream = dump_begin (phase, &flags);
- if (stream)
- {
- dump_node (fn, TDF_SLIM | flags, stream);
- dump_end (phase, stream);
- }
-}
-
-void java_optimize_inline (tree fndecl)
-{
- if (flag_inline_trees)
- {
- timevar_push (TV_INTEGRATION);
- optimize_inline_calls (fndecl);
- timevar_pop (TV_INTEGRATION);
- dump_function (TDI_inlined, fndecl);
- }
-}
-
/* We pessimistically marked all methods and fields external until we
knew what set of classes we were planning to compile. Now mark those
associated with CLASS to be generated locally as not external. */