diff options
author | Per Bothner <per@bothner.com> | 2001-03-23 17:13:30 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2001-03-23 17:13:30 -0800 |
commit | fa029f453a551f13f36cd997618629998696849e (patch) | |
tree | b1eef7b31ca3d14d2d241bc45c3318313375f660 /gcc/java/java-tree.h | |
parent | 3c45ffa5146a7132ea4867981f0d2a737d656e54 (diff) | |
download | gcc-fa029f453a551f13f36cd997618629998696849e.tar.gz |
re PR java/1208 (Gcj can't compile a class file it generates.)
e
* verify.c (verify_jvm_instructions): Replace 3 pop_type by POP_TYPE
macro for better error pin-pointing.
* java-tree.h: Fix typo in comment.
* jcf-write.c (generate_bytecode_insns): Changes to TRY_FINALLY_EXPR.
Don't include jsr/goto in exception range.
Check if start and end of exception range are the same (also TRY_EXPR).
Don't emit jsr after try_block if CAN_COMPLETE_NORMALLY is false.
However, do emit the following goto even if try_block is empty.
Defer freeing exception_decl until after the finalizer, to make
sure the local isn't reused in the finalizer. Fixes PR java/1208.
* parse.y (java_complete_lhs): If the try-clause is empty, just
return the finally-clause and vice versa.
From-SVN: r40801
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index afd892e53e2..33f8a5b4c18 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -743,7 +743,7 @@ struct lang_identifier #define LABEL_RETURN_TYPE_STATE(NODE) LABEL_TYPE_STATE (LABEL_RETURN_LABEL (NODE)) /* In a TREE_VEC for a LABEL_RETURN_TYPE_STATE, notes that - TREE_VEC_LENGTH has been adjust to the correct stack size. */ + TREE_VEC_LENGTH has been adjusted to the correct stack size. */ #define RETURN_MAP_ADJUSTED(NODE) TREE_LANG_FLAG_2(NODE) /* In the label of a sub-routine, a chain of the return location labels. */ |