diff options
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 858e082..074a093 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. */ |