aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-write.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-11-18 23:04:28 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-11-18 23:04:28 +0000
commit604407070be6a945b7ccfe3fa89e51cfe112614f (patch)
tree1f211b5ce7ff2e548850c7b42594abc98a322b07 /gcc/java/jcf-write.c
parent20266bb1219d9bfda7327fe029cf3fb6a9bc1967 (diff)
downloadgcc-604407070be6a945b7ccfe3fa89e51cfe112614f.zip
gcc-604407070be6a945b7ccfe3fa89e51cfe112614f.tar.gz
gcc-604407070be6a945b7ccfe3fa89e51cfe112614f.tar.bz2
verify.cc: Include StringBuffer.h.
* verify.cc: Include StringBuffer.h. (verify_fail): Added pc argument. Use StringBuffer to construct exception message. (_Jv_BytecodeVerifier::verify_instructions_0): Put PC into error message. (_Jv_BytecodeVerifier::check_return_type): Likewise. (_Jv_BytecodeVerifier::handle_field_or_method): Likewise. (_Jv_BytecodeVerifier::check_constant): Likewise. (_Jv_BytecodeVerifier::check_class_constant): Likewise. (_Jv_BytecodeVerifier::check_pool_index): Likewise. (_Jv_BytecodeVerifier::get_variable): Likewise. (_Jv_BytecodeVerifier::branch_prepass): Likewise. Also, correctly check exception handler endpoint. (_Jv_BytecodeVerifier::verify_instructions_0): Correctly handle wide arguments to current method. (_Jv_BytecodeVerifier::check_wide_constant): New method. (_Jv_BytecodeVerifier::verify_instructions_0) [op_ldc2_w]: Use it. From-SVN: r47155
Diffstat (limited to 'gcc/java/jcf-write.c')
0 files changed, 0 insertions, 0 deletions