summaryrefslogtreecommitdiffstats
path: root/gcc/java/jcf-write.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-28 08:59:30 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-28 08:59:30 +0000
commitd3ab49408bd5b876d10076caea78dc81a5f85dd7 (patch)
tree4e0cd6667d1a644a7351591937d44f5c7b75db48 /gcc/java/jcf-write.c
parent69a1723d99e98665656fdad933aaff86ebf5c4dd (diff)
downloadppe42-gcc-d3ab49408bd5b876d10076caea78dc81a5f85dd7.tar.gz
ppe42-gcc-d3ab49408bd5b876d10076caea78dc81a5f85dd7.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40922 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-write.c')
-rw-r--r--gcc/java/jcf-write.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c
index 4593e8a64b5..b84c86ebde2 100644
--- a/gcc/java/jcf-write.c
+++ b/gcc/java/jcf-write.c
@@ -2513,8 +2513,7 @@ generate_bytecode_insns (exp, target, state)
}
else if (f == soft_monitorenter_node
|| f == soft_monitorexit_node
- || f == throw_node[0]
- || f == throw_node[1])
+ || f == throw_node)
{
if (f == soft_monitorenter_node)
op = OPCODE_monitorenter;
OpenPOWER on IntegriCloud