diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-04-20 01:38:46 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-04-20 02:38:46 +0100 |
commit | f531010820afc86bde3e7d4b98850ee51c735de5 (patch) | |
tree | de88ceabf2ba85e265495894813895ad9f7f43cb /libjava/java/lang/Class.h | |
parent | 712faa50dd829c2e813a7169ef71ec20a6465666 (diff) | |
download | gcc-f531010820afc86bde3e7d4b98850ee51c735de5.zip gcc-f531010820afc86bde3e7d4b98850ee51c735de5.tar.gz gcc-f531010820afc86bde3e7d4b98850ee51c735de5.tar.bz2 |
class.c (make_class_data): Add new field aux_info.
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.
From-SVN: r80875
Diffstat (limited to 'libjava/java/lang/Class.h')
-rw-r--r-- | libjava/java/lang/Class.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h index b8a8d90..86dc6a0 100644 --- a/libjava/java/lang/Class.h +++ b/libjava/java/lang/Class.h @@ -384,6 +384,7 @@ private: #endif friend class _Jv_BytecodeVerifier; + friend class _Jv_StackTrace; friend class gnu::gcj::runtime::StackTrace; friend class java::io::VMObjectStreamClass; @@ -449,6 +450,9 @@ private: JArray<jobject> *hack_signers; // Used by Jv_PopClass and _Jv_PushClass to communicate with StackTrace. jclass chain; + // Additional data, specific to the generator (JIT, native, interpreter) of this + // class. + void *aux_info; }; #endif /* __JAVA_LANG_CLASS_H__ */ |