aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorMartin von Loewis <loewis@informatik.hu-berlin.de>2000-02-29 23:33:50 +0000
committerMartin von Loewis <loewis@informatik.hu-berlin.de>2000-02-29 23:33:50 +0000
commitbeced050cbc52abe48e9beb3b70400960a461e09 (patch)
tree3761b362baeb6739f75a4be6a85810c78908ab10 /gcc/java/decl.c
parenta355934d2a4ba0149d6adc829470a238ee65c612 (diff)
* c-decl.c (current_function_decl): Move to toplev.c.
(init_decl_processing): Don't add current_function_decl as a ggc root here. * dbxout.c (dbxout_symbol): Change return type to int. (dbxout_symbol_location, dbxout_syms): Likewise. (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without any locals. Use current_function_func_begin_label if set. * dbxout.h (dbxout_symbol, dbxout_syms): Change return type. * dwarf2out.c (dwarf2out_begin_prologue): Set current_function_func_begin_label. * final.c (final_start_function): Reset it. * toplev.c (current_function_decl): Define it here. (current_function_func_begin_label): New variable. (main): Add both as ggc roots. * tree.h (current_function_func_begin_label): Declare. * ch/decl.c (current_function_decl): Move to toplev.c. * cp/decl.c (current_function_decl): Move to toplev.c. * f/com.c (current_function_decl): Move to toplev.c. * java/decl.c (current_function_decl): Move to toplev.c. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@32268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 5e64c640890..cae86f0908a 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -283,10 +283,6 @@ static int keep_next_level_flag;
static int keep_next_if_subblocks;
-/* The FUNCTION_DECL for the function currently being compiled,
- or 0 if between functions. */
-tree current_function_decl;
-
tree object_type_node;
tree unqualified_object_id_node;
tree object_ptr_type_node;