mirror of git://gcc.gnu.org/git/gcc.git
* boehm.cc (_Jv_BuildGCDescr): Define unconditionally.
From-SVN: r48170
This commit is contained in:
parent
726abf5d79
commit
619c238cb9
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
* include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
|
* include/jvm.h (_Jv_BuildGCDescr): Declare unconditionally.
|
||||||
* nogc.cc (_Jv_BuildGCDescr): Define unconditionally.
|
* nogc.cc (_Jv_BuildGCDescr): Define unconditionally.
|
||||||
|
* boehm.cc (_Jv_BuildGCDescr): Likewise.
|
||||||
|
|
||||||
2001-12-18 Tom Tromey <tromey@redhat.com>
|
2001-12-18 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -319,9 +319,8 @@ _Jv_MarkArray (void *addr, void *msp, void *msl, void * /*env*/)
|
||||||
return mark_stack_ptr;
|
return mark_stack_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return GC descriptor for interpreted class
|
// Generate a GC marking descriptor for a class.
|
||||||
#ifdef INTERPRETER
|
//
|
||||||
|
|
||||||
// We assume that the gcj mark proc has index 0. This is a dubious assumption,
|
// 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
|
// since another one could be registered first. But the compiler also
|
||||||
// knows this, so in that case everything else will break, too.
|
// 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. */
|
/* FIXME: We should really look at the class and build the descriptor. */
|
||||||
return (void *)(GCJ_DEFAULT_DESCR);
|
return (void *)(GCJ_DEFAULT_DESCR);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
// Allocate some space that is known to be pointer-free.
|
// Allocate some space that is known to be pointer-free.
|
||||||
void *
|
void *
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue