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:
parent
6510f4c98e
commit
726abf5d79
3 changed files with 5 additions and 4 deletions
|
@ -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>
|
2001-12-18 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* java/text/CollationElementIterator.java (secondaryOrder): Cast
|
* java/text/CollationElementIterator.java (secondaryOrder): Cast
|
||||||
|
|
|
@ -177,9 +177,7 @@ void _Jv_InitGC (void);
|
||||||
/* Register a finalizer. */
|
/* Register a finalizer. */
|
||||||
void _Jv_RegisterFinalizer (void *object, _Jv_FinalizerFunc *method);
|
void _Jv_RegisterFinalizer (void *object, _Jv_FinalizerFunc *method);
|
||||||
/* Compute the GC descriptor for a class */
|
/* Compute the GC descriptor for a class */
|
||||||
#ifdef INTERPRETER
|
|
||||||
void * _Jv_BuildGCDescr(jclass);
|
void * _Jv_BuildGCDescr(jclass);
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Allocate some unscanned, unmoveable memory. Return NULL if out of
|
/* Allocate some unscanned, unmoveable memory. Return NULL if out of
|
||||||
memory. */
|
memory. */
|
||||||
|
|
|
@ -19,13 +19,11 @@ details. */
|
||||||
// Total amount of memory allocated.
|
// Total amount of memory allocated.
|
||||||
static long total = 0;
|
static long total = 0;
|
||||||
|
|
||||||
#ifdef INTERPRETER
|
|
||||||
void *
|
void *
|
||||||
_Jv_BuildGCDescr(jclass klass)
|
_Jv_BuildGCDescr(jclass klass)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void *
|
void *
|
||||||
_Jv_AllocObj (jsize size, jclass klass)
|
_Jv_AllocObj (jsize size, jclass klass)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue