Skip to content

Commit

Permalink
Massi's fix for Unity case 358526.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmeijer committed Oct 26, 2010
1 parent 517eeb6 commit 0ded310
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions libgc/mark.c
Original file line number Diff line number Diff line change
Expand Up @@ -1515,11 +1515,12 @@ void GC_push_all_stack(bottom, top)
ptr_t bottom;
ptr_t top;
{
if (!NEED_FIXUP_POINTER && GC_all_interior_pointers) {
// if (!NEED_FIXUP_POINTER && GC_all_interior_pointers) {
// GC_push_all(bottom, top);
// } else {
// GC_push_all_eager(bottom, top);
// }
GC_push_all(bottom, top);
} else {
GC_push_all_eager(bottom, top);
}
}

#if !defined(SMALL_CONFIG) && !defined(USE_MARK_BYTES)
Expand Down
3 changes: 2 additions & 1 deletion libgc/mark_rts.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ ptr_t cold_gc_frame;
# if defined(THREADS)
if (0 == cold_gc_frame) return;
# ifdef STACK_GROWS_DOWN
GC_push_all_eager(GC_approx_sp(), cold_gc_frame);
//GC_push_all_eager(GC_approx_sp(), cold_gc_frame);
GC_push_all(GC_approx_sp(), cold_gc_frame);
/* For IA64, the register stack backing store is handled */
/* in the thread-specific code. */
# else
Expand Down

0 comments on commit 0ded310

Please sign in to comment.