aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.def
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-05-12 21:59:33 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-05-12 21:59:33 -0700
commitf17f18980bc8654557f02a3a6b29ca2fb88c54aa (patch)
treed37b268dcb8cc4b3d21e21a0832052417e87e5f8 /gcc/java/java-tree.def
parentd9c219593bd31a92d0c7a7ee111604cc0f8b7234 (diff)
downloadgcc-f17f18980bc8654557f02a3a6b29ca2fb88c54aa.zip
gcc-f17f18980bc8654557f02a3a6b29ca2fb88c54aa.tar.gz
gcc-f17f18980bc8654557f02a3a6b29ca2fb88c54aa.tar.bz2
java-tree.def (JAVA_EXC_OBJ_EXPR): New.
* 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. From-SVN: r42030
Diffstat (limited to 'gcc/java/java-tree.def')
-rw-r--r--gcc/java/java-tree.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def
index 930979b..c2e926f 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