diff options
| author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-09-10 10:36:02 +0000 |
|---|---|---|
| committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-09-10 10:36:02 +0000 |
| commit | 81b3411cdf96d7160aad803388a8e522501646f6 (patch) | |
| tree | e509e10c1be6e5513d27d5310b0f2d791b23761d /gcc/java/decl.c | |
| parent | ed5511d94eaa6e0ac388aad1999bf11d647d3906 (diff) | |
| download | gcc-81b3411cdf96d7160aad803388a8e522501646f6.zip gcc-81b3411cdf96d7160aad803388a8e522501646f6.tar.gz gcc-81b3411cdf96d7160aad803388a8e522501646f6.tar.bz2 | |
Move declarations and building code for common tree nodes to tree.[ch]
From-SVN: r29266
Diffstat (limited to 'gcc/java/decl.c')
| -rw-r--r-- | gcc/java/decl.c | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 6905cae..443fa9d 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -252,9 +252,6 @@ static int keep_next_if_subblocks; or 0 if between functions. */ tree current_function_decl; -/* The type node for the ordinary character type. */ -tree char_type_node; - tree object_type_node; tree unqualified_object_id_node; tree object_ptr_type_node; @@ -268,17 +265,8 @@ int predef_filenames_size; tree boolean_type_node; -tree float_type_node; -tree double_type_node; - -/* a VOID_TYPE node. */ - -tree void_type_node; -tree ptr_type_node; tree return_address_type_node; -tree integer_type_node; - tree byte_type_node; tree short_type_node; tree int_type_node; @@ -319,19 +307,8 @@ tree one_elt_array_domain_type; tree access_flags_type_node; tree class_dtable_decl; -/* a node which has tree code ERROR_MARK, and whose type is itself. - All erroneous expressions are replaced with this node. All functions - that accept nodes as arguments should avoid generating error messages - if this node is one of the arguments, since it is undesirable to get - multiple error messages from one error in the input. */ - -tree error_mark_node; - -/* Two expressions that are constants with value zero. - The first is of type `int', the second of type `void *'. - Other of type `long', `float' and `double' follow. */ -tree integer_zero_node; -tree null_pointer_node; +/* Expressions that are constants with value zero, of types + `long', `float' and `double'. */ tree long_zero_node; tree float_zero_node; tree double_zero_node; @@ -374,9 +351,6 @@ tree soft_irem_node; tree soft_ldiv_node; tree soft_lrem_node; -/* __builtin_va_list; unused by java, but referenced by target files. */ -tree va_list_type_node; - /* Build (and pushdecl) a "promoted type" for all standard types shorter than int. */ @@ -406,7 +380,7 @@ push_promoted_type (name, actual_type) } /* Nodes for integer constants. */ -tree integer_one_node, integer_two_node, integer_four_node; +tree integer_two_node, integer_four_node; tree integer_negative_one_node; /* Return a definition for a builtin function named NAME and whose data type |
