java-except.h (struct eh_range): Removed unused `next' member.
authorTom Tromey <tromey@cygnus.com>
Tue, 18 May 1999 15:03:26 +0000 (15:03 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 18 May 1999 15:03:26 +0000 (15:03 +0000)
commit5a9e5c6fb6c140bd80a2986f1d537a250a62ea59
tree009368cd560c748736b8a935a20c33d9fefb97c8
parentc64f913e0035db3d4a4137405b768d2f50c30eea
java-except.h (struct eh_range): Removed unused `next' member.

* java-except.h (struct eh_range): Removed unused `next' member.
* verify.c (verify_jvm_instructions): Call check_nested_ranges
after adding all exception handlers.  Sort exception ranges in
order of start PC.
(struct pc_index): New structure.
(start_pc_cmp): New function.
* except.c (add_handler): Return `void'.  Don't call link_handler;
instead construct an ordinary linked list and do range
coalescing.
(check_nested_ranges): New function.
(link_handler): Changed interface to allow merging of eh_ranges.
Split overlapping ranges.  Return `void'.

From-SVN: r26995
gcc/java/ChangeLog
gcc/java/except.c
gcc/java/java-except.h
gcc/java/verify.c