diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1999-04-19 15:45:57 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-04-19 08:45:57 -0700 |
commit | e8fc7396390399d4bf00415ed0cbb244bdeeefc1 (patch) | |
tree | 766b1f76543b43ffbf5af505600a2ae571e851f3 /gcc/java/xref.h | |
parent | 3b6e11237cc2b779df7dd9c3b2fefc55a1a4501b (diff) | |
download | gcc-e8fc7396390399d4bf00415ed0cbb244bdeeefc1.zip gcc-e8fc7396390399d4bf00415ed0cbb244bdeeefc1.tar.gz gcc-e8fc7396390399d4bf00415ed0cbb244bdeeefc1.tar.bz2 |
lang.c (lang_decode_option): Fixed returned value when parsing `-fxref=...' and `-Wall'.
Mon Apr 19 14:44:48 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lang.c (lang_decode_option): Fixed returned value when parsing
`-fxref=...' and `-Wall'.
* parse.y (source_end_java_method): Do not generate code when
flag_emit_xref is set.
(resolve_expression_name): Do not build static field access when
flag_emit_xref is set.
(resolve_field_access): No special treatement on `length' when
flag_emit_xref is set. Do not build qualified static field access
when flag_emit_xref is set.
(patch_invoke): Keep the method DECL as operand 0 of the CALL_EXPR
when flag_emit_xref is set.
(patch_assignment): Do not generate array store runtime check when
flag_emit_xref is set.
* xref.c (xref_flag_value): Fixed function declaration
indentation.
(xset_set_data): New function.
* xref.h (xref_set_data): Added prototype for new function.
(typedef struct xref_flag_table): New field data.
(XREF_GET_DATA): New macro.
From-SVN: r26550
Diffstat (limited to 'gcc/java/xref.h')
-rw-r--r-- | gcc/java/xref.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/xref.h b/gcc/java/xref.h index 40f9d68..e3901fe 100644 --- a/gcc/java/xref.h +++ b/gcc/java/xref.h @@ -26,6 +26,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ /* Exported functions. */ int xref_flag_value PROTO ((char *)); void expand_xref PROTO ((tree)); +void xref_set_data PROTO ((int, void *)); /* flag_emit_xref range of possible values. */ @@ -39,4 +40,7 @@ typedef struct { char *key; /* Activator in -fxref=<key> */ void (*expand) PROTO ((FILE *, tree)); /* Function to write xrefs out */ FILE *fp; /* fp to use during the call. */ + void *data; /* Placeholder for additional data */ } xref_flag_table; + +#define XREF_GET_DATA(FLAG, T) ((T)xref_table [(FLAG)-1].data) |