diff options
author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-13 14:33:37 +0000 |
---|---|---|
committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-13 14:33:37 +0000 |
commit | ff752ab90248f8fc5ee8d7b78d02604358c8f93d (patch) | |
tree | 8b33779181f3c705df69fddd4b380a96ae56cb2b /gcc/java/xref.c | |
parent | 73ddb23b66d8d21fc1a5841f8148011efb5c32cd (diff) | |
download | ppe42-gcc-ff752ab90248f8fc5ee8d7b78d02604358c8f93d.tar.gz ppe42-gcc-ff752ab90248f8fc5ee8d7b78d02604358c8f93d.zip |
Thu May 13 13:23:38 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* check-init.c (check_init): Removed code accepting to see things
falling through default:, when doing xrefs.
* java-tree.h (do_not_fold): New global variable, declared.
* parse.y (do_not_fold): New global variable, defined.
(java_complete_expand_method): Set `do_not_fold' to the value of
`flag_emit_xref'. When doing xrefs: copy the thrown exceptions,
and reinstall them after them have been purged; do not check for
initializations; do not issue missing return errors.
(java_complete_lhs): Do not attempt to patch INSTANCEOF_EXPR nodes
when doing xrefs.
(patch_binop): Skip the fold part when doing xrefs.
(build_string_concatenation): Skip the concatenation part when
doing xrefs.
(patch_synchronized_statement): Do not generate a try-finally when
doing xrefs.
(patch_throw_statement): When doing xrefs, do not call BUILD_THROW
and keep the location where the throw was seen.
* typeck.c (convert): When `do_not_fold' is set, do not attempt
any treatment on the converted node an simply return a NOP_EXPR of
the targeted type.
* xref.c (xref_get_data): New function, defined.
* xref.h (xref_get_data): New function, declared.
(XREF_GET_DATA): Use xref_get_data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26926 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/xref.c')
-rw-r--r-- | gcc/java/xref.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/xref.c b/gcc/java/xref.c index 935378413c4..0e269bf6b66 100644 --- a/gcc/java/xref.c +++ b/gcc/java/xref.c @@ -59,6 +59,13 @@ xref_set_data (flag, data) xref_table [flag-1].data = data; } +void * +xref_get_data (flag) + int flag; +{ + return xref_table [flag-1].data; +} + /* Branch to the right xref "back-end". */ void |