mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
natClassLoader.cc (_Jv_NewArrayClass): Don't reference NUM_OBJECT_METHODS.
* java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't reference NUM_OBJECT_METHODS. * include/jvm.h (NUM_OBJECT_METHODS): Removed. From-SVN: r108956
This commit is contained in:
parent
3bfdb124af
commit
228366cdd2
@ -1,3 +1,9 @@
|
||||
2005-12-22 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
|
||||
reference NUM_OBJECT_METHODS.
|
||||
* include/jvm.h (NUM_OBJECT_METHODS): Removed.
|
||||
|
||||
2005-12-18 Anthony Green <green@redhat.com>
|
||||
|
||||
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
|
||||
|
@ -75,10 +75,6 @@ struct _Jv_VTable
|
||||
static _Jv_VTable *new_vtable (int count);
|
||||
};
|
||||
|
||||
// Number of virtual methods on object. FIXME: it sucks that we have
|
||||
// to keep this up to date by hand.
|
||||
#define NUM_OBJECT_METHODS 5
|
||||
|
||||
union _Jv_word
|
||||
{
|
||||
jobject o;
|
||||
|
@ -415,8 +415,6 @@ _Jv_NewArrayClass (jclass element, java::lang::ClassLoader *loader,
|
||||
|
||||
// Note that `vtable_method_count' doesn't include the initial
|
||||
// gc_descr slot.
|
||||
JvAssert (java::lang::Object::class$.vtable_method_count
|
||||
== NUM_OBJECT_METHODS);
|
||||
int dm_count = java::lang::Object::class$.vtable_method_count;
|
||||
|
||||
// Create a new vtable by copying Object's vtable.
|
||||
|
Loading…
Reference in New Issue
Block a user