aboutsummaryrefslogtreecommitdiff
path: root/libjava/resolve.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>2001-10-03 07:54:34 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2001-10-03 08:54:34 +0100
commit8b6013ad43ce99bc45edb036b4bbda9d75090297 (patch)
treeb43e7d06ce241dad19d1c173d0c9275cf13746f3 /libjava/resolve.cc
parentcaa3f65c76d65b0ce068a93c29bab370b1d9422b (diff)
downloadgcc-8b6013ad43ce99bc45edb036b4bbda9d75090297.zip
gcc-8b6013ad43ce99bc45edb036b4bbda9d75090297.tar.gz
gcc-8b6013ad43ce99bc45edb036b4bbda9d75090297.tar.bz2
* resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.
From-SVN: r45988
Diffstat (limited to 'libjava/resolve.cc')
-rw-r--r--libjava/resolve.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/resolve.cc b/libjava/resolve.cc
index e44ba6d..df48c26 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);
}
}