diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-03 07:54:34 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-03 07:54:34 +0000 |
commit | 5164047e7d33a5ec7569f1a50c70ecd1ada78dd7 (patch) | |
tree | b43e7d06ce241dad19d1c173d0c9275cf13746f3 /libjava | |
parent | d964115d0d29d52c2f3ea7fa0d883b27b1ec8e4d (diff) | |
download | gcc-5164047e7d33a5ec7569f1a50c70ecd1ada78dd7.tar.gz |
* resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/resolve.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 84a61c2dca9..69e846ffc2e 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2001-10-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz> + + * resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout. + 2001-10-02 Mark Wielaard <mark@klomp.org> * Makefile.am (core_java_source_files): add InheritableThreadLocal diff --git a/libjava/resolve.cc b/libjava/resolve.cc index e44ba6d339a..df48c269c67 100644 --- a/libjava/resolve.cc +++ b/libjava/resolve.cc @@ -732,9 +732,9 @@ _Jv_PrepareClass(jclass klass) throw_internal_error ("vtable problem..."); if (clz->interpreted_methods[i] == 0) - vtable->set_method(i, (void*)&_Jv_abstractMethodError); + vtable->set_method(index, (void*)&_Jv_abstractMethodError); else - vtable->set_method(i, this_meth->ncode); + vtable->set_method(index, this_meth->ncode); } } |