diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2006-04-29 01:35:50 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2006-04-29 02:35:50 +0100 |
commit | 23bc3a894d2e6e62f47e853c02388787142c633b (patch) | |
tree | 190c70f4d67cff0f7db66783ec89f4f81229bbdb /libjava/include/execution.h | |
parent | f6326de601ea98a438f0f053ecc5b8cb78364254 (diff) | |
download | gcc-23bc3a894d2e6e62f47e853c02388787142c633b.zip gcc-23bc3a894d2e6e62f47e853c02388787142c633b.tar.gz gcc-23bc3a894d2e6e62f47e853c02388787142c633b.tar.bz2 |
link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index to resolve_method.
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.
From-SVN: r113370
Diffstat (limited to 'libjava/include/execution.h')
-rw-r--r-- | libjava/include/execution.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/include/execution.h b/libjava/include/execution.h index fe141e9..f0c309c 100644 --- a/libjava/include/execution.h +++ b/libjava/include/execution.h @@ -26,7 +26,7 @@ struct _Jv_ExecutionEngine void (*allocate_static_fields) (jclass, int, int); void (*create_ncode) (jclass); _Jv_ResolvedMethod *(*resolve_method) (_Jv_Method *, jclass, - jboolean, jint); + jboolean); void (*post_miranda_hook) (jclass); }; @@ -50,7 +50,7 @@ struct _Jv_CompiledEngine : public _Jv_ExecutionEngine } static _Jv_ResolvedMethod *do_resolve_method (_Jv_Method *, jclass, - jboolean, jint) + jboolean) { return NULL; } @@ -118,7 +118,7 @@ class _Jv_InterpreterEngine : public _Jv_ExecutionEngine static void do_allocate_static_fields (jclass, int, int); static void do_create_ncode (jclass); static _Jv_ResolvedMethod *do_resolve_method (_Jv_Method *, jclass, - jboolean, jint); + jboolean); static bool do_need_resolve_string_fields () { |