summaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-04 01:10:08 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-04 01:10:08 +0000
commitd573537dc9b3df95796129d1162aa318556753d5 (patch)
tree74c53a26a18861bde10a625d7b3eca0f8d353671 /gcc/java/check-init.c
parent193a235bc1d2350a3a46ad8469ec5e2e9e58d60e (diff)
downloadgcc-d573537dc9b3df95796129d1162aa318556753d5.tar.gz
* decl.c (complete_start_java_method): Now generate TRY_FINALLY_EXPR
instead of CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR. * jcf-write.c (generate_bytecode_insns): Remove support for CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR as they are no longer used. * check-init.c (check_init): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index b108c45ce3a..7aea1821845 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -529,29 +529,6 @@ check_init (exp, before)
break;
}
- case CLEANUP_POINT_EXPR:
- {
- struct alternatives alt;
- BEGIN_ALTERNATIVES (before, alt);
- CLEAR_ALL (alt.combined);
- check_init (TREE_OPERAND (exp, 0), before);
- UNION (alt.combined, alt.combined, before);
- END_ALTERNATIVES (before, alt);
- }
- return;
- case WITH_CLEANUP_EXPR:
- {
- struct alternatives *alt = alternatives;
-#ifdef ENABLE_JC1_CHECKING
- if (TREE_CODE (alt->block) != CLEANUP_POINT_EXPR)
- abort ();
-#endif
- check_init (TREE_OPERAND (exp, 0), before);
- UNION (alt->combined, alt->combined, before);
- check_init (TREE_OPERAND (exp, 1), alt->combined);
- return;
- }
-
case TRY_EXPR:
{
tree try_clause = TREE_OPERAND (exp, 0);