From 726abf5d79aeafa36473c865033fa7a97358fded Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Wed, 19 Dec 2001 01:59:28 +0000 Subject: jvm.h (_Jv_BuildGCDescr): Declare unconditionally. * include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally. * nogc.cc (_Jv_BuildGCDescr): Define unconditionally. From-SVN: r48169 --- libjava/ChangeLog | 5 +++++ libjava/include/jvm.h | 2 -- libjava/nogc.cc | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 51a2404ab37..833491565fb 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-12-19 Bryce McKinlay + + * include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally. + * nogc.cc (_Jv_BuildGCDescr): Define unconditionally. + 2001-12-18 Tom Tromey * java/text/CollationElementIterator.java (secondaryOrder): Cast diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index bef5b1833eb..c505a72e6d0 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -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. */ diff --git a/libjava/nogc.cc b/libjava/nogc.cc index daf279c8f85..5d976ef854a 100644 --- a/libjava/nogc.cc +++ b/libjava/nogc.cc @@ -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) -- cgit v1.2.1