summaryrefslogtreecommitdiff
path: root/libjava/boehm.cc
diff options
context:
space:
mode:
authorAnthony Green <green@gcc.gnu.org>1999-08-10 05:32:23 +0000
committerAnthony Green <green@gcc.gnu.org>1999-08-10 05:32:23 +0000
commit7941ceabf0f14279e93443a63ca4d355f3a88830 (patch)
tree9c08b881a7b585b2167568feb299be46b2919659 /libjava/boehm.cc
parent3ef1cea850c365903de7137b0a444f49e736981f (diff)
downloadgcc-7941ceabf0f14279e93443a63ca4d355f3a88830.tar.gz
[multiple changes]
Mon Aug 9 18:33:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * Makefile: Rebuilt. * Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native builds. * java/net/natPlainSocketImpl.cc: Include <sys/select.h> only if present. * configure: Rebuilt. * configure.in: Properly align --help output, fix capitalization and punctuation. * acinclude.m4: Likewise. 1999-08-09 Kresten Krab Thorup <krab@gnu.org> * include/javaprims.h (_Jv_word, _Jv_word2): New types. * include/java-interp.h (_Jv_InterpMethodInvocation): Use _Jv_word. (_Jv_callInterpretedMethod): Unused. Remove. (_Jv_InterpMethod::run,run_normal,run_synch_object,run_synch_class): Use ffi_raw. * include/java-cpool.h (_Jv_get, _Jv_put): Remove. (_Jv_{store,load}{Indexes,Int,Float,Long,Double}): Use _Jv_word. * boehm.cc (_Jv_MarkObj): Use _Jv_word. * interpret.cc: use _Jv_word. * defineclass.cc: use_Jv_word. * resolve.cc: Use _Jv_word. (_Jv_ResolvePoolEntry): Return _Jv_word. * java/lang/Class.h (_Jv_Constants): Use _Jv_word for cpool. * java/lang/natClassLoader.cc (_Jv_InternClassStrings): Use _Jv_word. * interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1): Change comment. From-SVN: r28641
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r--libjava/boehm.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc
index 2e1b5f23cf7..f73bf868017 100644
--- a/libjava/boehm.cc
+++ b/libjava/boehm.cc
@@ -112,7 +112,8 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /*env*/)
MAYBE_MARK (w, mark_stack_ptr, mark_stack_limit, c, c4label);
for (int i = 0; i < c->constants.size; ++i)
{
- w = (word) c->constants.data[i];
+ /* FIXME: We could make this more precise by using the tags -KKT */
+ w = (word) c->constants.data[i].p;
MAYBE_MARK (w, mark_stack_ptr, mark_stack_limit, c, c5label);
}