This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r113370 - in /trunk/libjava: ChangeLog include/...
- From: bryce at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 29 Apr 2006 01:35:51 -0000
- Subject: r113370 - in /trunk/libjava: ChangeLog include/...
Author: bryce
Date: Sat Apr 29 01:35:50 2006
New Revision: 113370
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113370
Log:
2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
* link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
to resolve_method.
* interpret.cc (insn_invokevirtual): Use method->index, not
vtable_index. Check accflag FINAL to determine finals. Only do
explicit null check if calling a final method. Use
throw_null_pointer_exception.
(invokevirtual_resolved): Likewise.
(null_pointer_exc): Remove static field.
(throw_null_pointer_exception): Always define. Throw a new
NullPointerException every time.
* include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
field.
* include/execution.h (resolve_method): Remove vtable_index argument.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/include/execution.h
trunk/libjava/include/java-interp.h
trunk/libjava/interpret.cc
trunk/libjava/link.cc