boehm.c (mark_reference_fields, set_bit): Prototype.
* boehm.c (mark_reference_fields, set_bit): Prototype. (set_bit): Un-ANSI-fy definition. * class.c (init_test_hash_newfunc, decl_hash, decl_compare): Prototype. * decl.c (emit_init_test_initialization): Likewise. * gjavah.c (jni_print_char): Likewise. * parse.y (create_new_parser_context): Likewise. From-SVN: r32908
This commit is contained in:
parent
69c0caa166
commit
c0b864fce7
|
@ -1,3 +1,17 @@
|
|||
2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* boehm.c (mark_reference_fields, set_bit): Prototype.
|
||||
(set_bit): Un-ANSI-fy definition.
|
||||
|
||||
* class.c (init_test_hash_newfunc, decl_hash, decl_compare):
|
||||
Prototype.
|
||||
|
||||
* decl.c (emit_init_test_initialization): Likewise.
|
||||
|
||||
* gjavah.c (jni_print_char): Likewise.
|
||||
|
||||
* parse.y (create_new_parser_context): Likewise.
|
||||
|
||||
Thu Mar 30 15:26:56 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* expr.c (java_lang_expand_expr): Added Anthony's Thu Jan 6 2000
|
||||
|
|
|
@ -31,6 +31,15 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
|||
#include "java-tree.h"
|
||||
#include "parse.h"
|
||||
|
||||
static unsigned int mark_reference_fields PARAMS ((tree,
|
||||
unsigned HOST_WIDE_INT *,
|
||||
unsigned HOST_WIDE_INT *,
|
||||
unsigned int,
|
||||
int *, int *, int *));
|
||||
static void set_bit PARAMS ((unsigned HOST_WIDE_INT *,
|
||||
unsigned HOST_WIDE_INT *,
|
||||
unsigned int));
|
||||
|
||||
/* Compute a procedure-based object descriptor. We know that our
|
||||
`kind' is 0, and `env' is likewise 0, so we have a simple
|
||||
computation. From the GC sources:
|
||||
|
@ -42,8 +51,9 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
|
|||
/* Treat two HOST_WIDE_INT's as a contiguous bitmap, with bit 0 being
|
||||
the least significant. This function sets bit N in the bitmap. */
|
||||
static void
|
||||
set_bit (unsigned HOST_WIDE_INT *low, unsigned HOST_WIDE_INT *high,
|
||||
unsigned int n)
|
||||
set_bit (low, high, n)
|
||||
unsigned HOST_WIDE_INT *low, *high;
|
||||
unsigned int n;
|
||||
{
|
||||
HOST_WIDE_INT *which;
|
||||
|
||||
|
|
|
@ -48,6 +48,11 @@ static tree mangle_static_field PARAMS ((tree));
|
|||
static void add_interface_do PARAMS ((tree, tree, int));
|
||||
static tree maybe_layout_super_class PARAMS ((tree, tree));
|
||||
static int assume_compiled PARAMS ((const char *));
|
||||
static struct hash_entry *init_test_hash_newfunc PARAMS ((struct hash_entry *,
|
||||
struct hash_table *,
|
||||
hash_table_key));
|
||||
static unsigned long decl_hash PARAMS ((hash_table_key));
|
||||
static boolean decl_compare PARAMS ((hash_table_key, hash_table_key));
|
||||
|
||||
static rtx registerClass_libfunc;
|
||||
|
||||
|
|
|
@ -46,6 +46,8 @@ static tree push_jvm_slot PARAMS ((int, tree));
|
|||
static tree lookup_name_current_level PARAMS ((tree));
|
||||
static tree push_promoted_type PARAMS ((const char *, tree));
|
||||
static struct binding_level *make_binding_level PARAMS ((void));
|
||||
static boolean emit_init_test_initialization PARAMS ((struct hash_entry *,
|
||||
hash_table_key));
|
||||
|
||||
/* Set to non-zero value in order to emit class initilization code
|
||||
before static field references. */
|
||||
|
|
|
@ -146,6 +146,7 @@ static void help PARAMS ((void)) ATTRIBUTE_NORETURN;
|
|||
static void version PARAMS ((void)) ATTRIBUTE_NORETURN;
|
||||
static int overloaded_jni_method_exists_p PARAMS ((const unsigned char *, int,
|
||||
const char *, int));
|
||||
static void jni_print_char PARAMS ((FILE *, int));
|
||||
|
||||
JCF_u2 current_field_name;
|
||||
JCF_u2 current_field_value;
|
||||
|
|
861
gcc/java/parse.c
861
gcc/java/parse.c
File diff suppressed because it is too large
Load Diff
|
@ -317,6 +317,7 @@ static void add_inner_class_fields PARAMS ((tree, tree));
|
|||
|
||||
static tree build_dot_class_method PARAMS ((tree));
|
||||
static tree build_dot_class_method_invocation PARAMS ((tree));
|
||||
static void create_new_parser_context PARAMS ((int));
|
||||
|
||||
/* Number of error found so far. */
|
||||
int java_error_count;
|
||||
|
|
Loading…
Reference in New Issue