Changeset 1391 for branches/GNU/src/gcc/libjava/boehm.cc
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/boehm.cc (modified) (6 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/boehm.cc
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 1 // boehm.cc - interface between libjava and Boehm GC. 2 2 3 /* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation3 /* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation 4 4 5 5 This file is part of libgcj. … … 40 40 }; 41 41 42 // We must check for plausibility ourselves.43 42 #define MAYBE_MARK(Obj, Top, Limit, Source, Exit) \ 44 43 Top=GC_MARK_AND_PUSH((GC_PTR)Obj, Top, Limit, (GC_PTR *)Source) … … 136 135 MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, c6label); 137 136 137 138 139 140 141 142 138 143 139 144 if (! c->isArray() && ! c->isPrimitive()) … … 149 154 MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, 150 155 cm2label); 151 152 // FIXME: `ncode' entry?153 154 #ifdef INTERPRETER155 // The interpreter installs a heap-allocated156 // trampoline here, so we'll mark it.157 if (_Jv_IsInterpretedClass (c))158 {159 p = (ptr_t) c->methods[i].ncode;160 MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c,161 cm3label);162 }163 #endif164 156 } 165 157 } … … 213 205 p = (ptr_t) c->arrayclass; 214 206 MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cDlabel); 207 208 215 209 216 210 #ifdef INTERPRETER 217 211 if (_Jv_IsInterpretedClass (c)) 218 212 { 219 _Jv_InterpClass* ic = (_Jv_InterpClass*) c;213 _Jv_InterpClass* ic = (_Jv_InterpClass*)c; 220 214 221 215 p = (ptr_t) ic->interpreted_methods; … … 227 221 MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, ic, \ 228 222 cFlabel); 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 229 243 } 230 244 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
