diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-13 04:59:33 +0000 | 
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-13 04:59:33 +0000 | 
| commit | 0e2bfc592ae0cc046063e7390d9d557df791ccfd (patch) | |
| tree | d37b268dcb8cc4b3d21e21a0832052417e87e5f8 /gcc/java/java-tree.def | |
| parent | 656c947c64a5b661bb735b265168b169737c17bc (diff) | |
| download | ppe42-gcc-0e2bfc592ae0cc046063e7390d9d557df791ccfd.tar.gz ppe42-gcc-0e2bfc592ae0cc046063e7390d9d557df791ccfd.zip | |
        * java-tree.def (JAVA_EXC_OBJ_EXPR): New.
        * expr.c (java_lang_expand_expr): Expand it.
        (process_jvm_instruction): Build JAVA_EXC_OBJ_EXPR instead of
        calling build_exception_object_ref.
        * parse.y (catch_clause_parameter): Likewise.
        (build_dot_class_method): Likewise.
        (try_reference_assignconv): Likewise.
        * check-init.c (check_init): Check JAVA_EXC_OBJ_EXPR not EXC_PTR_EXPR.
        * jcf-write.c (generate_bytecode_insns): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42030 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-tree.def')
| -rw-r--r-- | gcc/java/java-tree.def | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def index 930979b5b24..c2e926f910b 100644 --- a/gcc/java/java-tree.def +++ b/gcc/java/java-tree.def @@ -93,6 +93,10 @@ DEFTREECODE (CLASS_LITERAL, "class_literal", '1', 1)     is used for context detection, so that special rules can be     enforced. */  DEFTREECODE (INSTANCE_INITIALIZERS_EXPR, "instance_initializers_expr", '1', 1) + +/* The Java object within the exception object from the runtime.  */ +DEFTREECODE (JAVA_EXC_OBJ_EXPR, "java_exc_obj_expr", 'e', 0) +  /*  Local variables:  mode:c | 

