diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-29 16:18:46 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-29 16:18:46 +0000 |
commit | 310b39066f979f2fac48d2ae2d6b504e0abd0aaf (patch) | |
tree | 406cc493b14a7dbe0721aae139686fc7c954a0cc /gcc/fortran/expr.c | |
parent | 33d464a0d78f78bd3702b35b1122e68eb60d2d18 (diff) | |
download | ppe42-gcc-310b39066f979f2fac48d2ae2d6b504e0abd0aaf.tar.gz ppe42-gcc-310b39066f979f2fac48d2ae2d6b504e0abd0aaf.zip |
2004-06-29 Andrew Haley <aph@redhat.com>
* except.c (expand_start_java_handler): Push a new binding level.
Don't build a TRY_CATCH_EXPR now, we'll do it later. Call
register_exception_range() to register where we'll do it.
(expand_end_java_handler): Remove old bogus code. Replace with
new logic that simply builds TRY_CATCH_EXPRs and inserts them at
the top of the expression we're curently building.
(maybe_end_try): Delete.
* decl.c (binding_level.exception_range): New field.
(clear_binding_level): Add field exception_range. Reformat.
(poplevel): Call expand_end_java_handler().
(poplevel): Call java_add_stmt only if functionbody is false.
(maybe_poplevels): Don't call maybe_end_try() from here.
(end_java_method): Clear no longer used trees in function decl.
(register_exception_range): New function.
* java-tree.h (register_exception_range, struct eh_range): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions