diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-20 01:38:46 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-20 01:38:46 +0000 |
commit | 0233d85fb83482c4f1aa201476ce5a929f132107 (patch) | |
tree | de88ceabf2ba85e265495894813895ad9f7f43cb /libjava/boehm.cc | |
parent | 4c9902fbb7f18476b6358e4dcb2b09827bc6467b (diff) | |
download | gcc-0233d85fb83482c4f1aa201476ce5a929f132107.tar.gz |
2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
* class.c (make_class_data): Add new field aux_info.
* decl.c (java_init_decl_processing): Push type and decl for
`aux_info'.
2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
* gcj/cni.h (JvAllocObject): Remove these obsolete,
undocumented CNI calls.
* include/java-interp.h (_Jv_InterpClass): No longer
extends java.lang.Class.
* java/lang/Class.h (Class): Add new field `aux_info'.
* boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
* defineclass.cc: Remove Class<->_Jv_InterpClass casts.
Use Class->aux_info instead.
* jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
* resolve.cc: Remove Class<->_Jv_InterpClass casts.
Use Class->aux_info instead.
* java/io/natObjectInputStream.cc (allocateObject): Use
_Jv_AllocObject.
* java/lang/natClass.cc (newInstance): Likewise.
* java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
* java/lang/natObject.cc (clone): Likewise.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
* java/lang/natVMClassLoader.cc (defineClass): Don't use
JvAllocObject. Allocate klass->aux_info here for interpreted
class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r-- | libjava/boehm.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc index 642f451f92e..cf84918617e 100644 --- a/libjava/boehm.cc +++ b/libjava/boehm.cc @@ -208,11 +208,13 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /* env */) MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cPlabel); p = (ptr_t) c->hack_signers; MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cSlabel); + p = (ptr_t) c->aux_info; + MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cTlabel); #ifdef INTERPRETER if (_Jv_IsInterpretedClass (c)) { - _Jv_InterpClass* ic = (_Jv_InterpClass*) c; + _Jv_InterpClass* ic = (_Jv_InterpClass*) c->aux_info; p = (ptr_t) ic->interpreted_methods; MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic, cElabel); |