jvm.h (_Jv_BuildGCDescr): Declare unconditionally.

* include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
	* nogc.cc (_Jv_BuildGCDescr): Define unconditionally.

From-SVN: r48169
This commit is contained in:
Bryce McKinlay 2001-12-19 01:59:28 +00:00 committed by Bryce McKinlay
parent 6510f4c98e
commit 726abf5d79
3 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-12-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
* nogc.cc (_Jv_BuildGCDescr): Define unconditionally.
2001-12-18 Tom Tromey <tromey@redhat.com>
* java/text/CollationElementIterator.java (secondaryOrder): Cast

View File

@ -177,9 +177,7 @@ void _Jv_InitGC (void);
/* Register a finalizer. */
void _Jv_RegisterFinalizer (void *object, _Jv_FinalizerFunc *method);
/* Compute the GC descriptor for a class */
#ifdef INTERPRETER
void * _Jv_BuildGCDescr(jclass);
#endif
/* Allocate some unscanned, unmoveable memory. Return NULL if out of
memory. */

View File

@ -19,13 +19,11 @@ details. */
// Total amount of memory allocated.
static long total = 0;
#ifdef INTERPRETER
void *
_Jv_BuildGCDescr(jclass klass)
{
return 0;
}
#endif
void *
_Jv_AllocObj (jsize size, jclass klass)