verify.c (subroutine_nesting): New function.
authorPer Bothner <per@bothner.com>
Mon, 3 Dec 2001 23:30:21 +0000 (15:30 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Mon, 3 Dec 2001 23:30:21 +0000 (15:30 -0800)
commit82ff672eb74509900ff1bd2ebc228cd1c2487aaf
tree84ee71f240d009ca160df23fe23e3cd96e223623
parent9fe038e86158cc0e9cee1538575fd781f44d32de
verify.c (subroutine_nesting): New function.

* verify.c (subroutine_nesting):  New function.
(verify_jvm_instructions):  Use it to fix logic for checking that
we're done with the current subroutine.

* verify.c (verify_jvm_instruction): For OPCODE_checkcast and
OPCODE_instanceof use POP_TYPE macro for better diagnostics.

From-SVN: r47572
gcc/java/ChangeLog
gcc/java/verify.c