diff options
author | Richard Henderson <rth@redhat.com> | 2001-03-28 00:59:30 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-28 00:59:30 -0800 |
commit | ce1c98ea459813570b4588427030daa03958fda6 (patch) | |
tree | 4e0cd6667d1a644a7351591937d44f5c7b75db48 /gcc/java/expr.c | |
parent | da7da8f9773d5e6b2edde3d332df6f2f85ed3c51 (diff) | |
download | gcc-ce1c98ea459813570b4588427030daa03958fda6.zip gcc-ce1c98ea459813570b4588427030daa03958fda6.tar.gz gcc-ce1c98ea459813570b4588427030daa03958fda6.tar.bz2 |
java-tree.h (throw_node): Define as a single member of java_global_trees instead of a separate array.
* java-tree.h (throw_node): Define as a single member of
java_global_trees instead of a separate array.
(JTI_THROW_NODE): New.
* decl.c (throw_node): Don't declare.
(init_decl_processing): Init a scalar throw_node.
Don't register it for gc.
* check-init.c (check_init): Reference scalar throw_node.
* expr.c (build_java_athrow): Likewise.
* jcf-write.c (generate_bytecode_insns): Likewise.
* parse.h (BUILD_THROW): Likewise.
From-SVN: r40922
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 7ec5e83..42c43aa 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -600,7 +600,7 @@ build_java_athrow (node) call = build (CALL_EXPR, void_type_node, - build_address_of (throw_node[USING_SJLJ_EXCEPTIONS ? 1 : 0]), + build_address_of (throw_node), build_tree_list (NULL_TREE, node), NULL_TREE); TREE_SIDE_EFFECTS (call) = 1; |