]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* boehm.cc (_Jv_BuildGCDescr): Define unconditionally.
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>
Wed, 19 Dec 2001 02:45:20 +0000 (02:45 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Wed, 19 Dec 2001 02:45:20 +0000 (02:45 +0000)
From-SVN: r48170

libjava/ChangeLog
libjava/boehm.cc

index 833491565fbb8b386607282331996e94764a594b..cf601a26a9a77a3106737fadeb6ed98b0cacd3c1 100644 (file)
@@ -2,6 +2,7 @@
 
        * include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
        * nogc.cc (_Jv_BuildGCDescr): Define unconditionally.
+       * boehm.cc (_Jv_BuildGCDescr): Likewise.
 
 2001-12-18  Tom Tromey  <tromey@redhat.com>
 
index 2f2dc71a4f608b626d0ea094a0b32dad39988cae..4dc60fc43b74e9e5bcbae45155a391456ac18837 100644 (file)
@@ -319,9 +319,8 @@ _Jv_MarkArray (void *addr, void *msp, void *msl, void * /*env*/)
   return mark_stack_ptr;
 }
 
-// Return GC descriptor for interpreted class
-#ifdef INTERPRETER
-
+// Generate a GC marking descriptor for a class.
+//
 // We assume that the gcj mark proc has index 0.  This is a dubious assumption,
 // since another one could be registered first.  But the compiler also
 // knows this, so in that case everything else will break, too.
@@ -332,7 +331,6 @@ _Jv_BuildGCDescr(jclass)
   /* FIXME: We should really look at the class and build the descriptor. */
   return (void *)(GCJ_DEFAULT_DESCR);
 }
-#endif
 
 // Allocate some space that is known to be pointer-free.
 void *