View | Details | Return to bug 10746 | Differences between
and this patch

Collapse All | Expand All

(-)mach_dep.c (+6 lines)
Lines 405-410 Link Here
405
ptr_t cold_gc_frame;
405
ptr_t cold_gc_frame;
406
{
406
{
407
	{
407
	{
408
	    word dummy;
409
408
#	    ifdef HAVE_BUILTIN_UNWIND_INIT
410
#	    ifdef HAVE_BUILTIN_UNWIND_INIT
409
	      /* This was suggested by Richard Henderson as the way to	*/
411
	      /* This was suggested by Richard Henderson as the way to	*/
410
	      /* force callee-save registers and register windows onto	*/
412
	      /* force callee-save registers and register windows onto	*/
Lines 448-453 Link Here
448
	      }
450
	      }
449
#           endif
451
#           endif
450
	    GC_push_current_stack(cold_gc_frame);
452
	    GC_push_current_stack(cold_gc_frame);
453
	    /* Strongly discourage the compiler from treating the above	*/
454
	    /* as a tail-call, since that would pop the register 	*/
455
	    /* contents before we get a chance to look at them.		*/
456
	    GC_noop1((word)(&dummy));
451
	}
457
	}
452
}
458
}
453
#endif /* USE_GENERIC_PUSH_REGS */
459
#endif /* USE_GENERIC_PUSH_REGS */

Return to bug 10746