[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/gc/dbg_mlc.c [Boehm-GC]
From: |
Dave Love |
Subject: |
[Emacs-diffs] Changes to emacs/gc/dbg_mlc.c [Boehm-GC] |
Date: |
Mon, 16 Jun 2003 11:41:52 -0400 |
Index: emacs/gc/dbg_mlc.c
diff -c emacs/gc/dbg_mlc.c:1.2.2.1 emacs/gc/dbg_mlc.c:1.2.2.2
*** emacs/gc/dbg_mlc.c:1.2.2.1 Thu Jun 5 14:23:04 2003
--- emacs/gc/dbg_mlc.c Mon Jun 16 11:41:51 2003
***************
*** 924,932 ****
void GC_check_heap_proc()
{
# ifndef SMALL_CONFIG
! if (sizeof(oh) & (2 * sizeof(word) - 1) != 0) {
! ABORT("Alignment problem: object header has inappropriate size\n");
! }
# endif
GC_apply_to_all_blocks(GC_check_heap_block, (word)0);
}
--- 924,934 ----
void GC_check_heap_proc()
{
# ifndef SMALL_CONFIG
! # ifdef ALIGN_DOUBLE
! GC_STATIC_ASSERT((sizeof(oh) & (2 * sizeof(word) - 1)) == 0);
! # else
! GC_STATIC_ASSERT((sizeof(oh) & (sizeof(word) - 1)) == 0);
! # endif
# endif
GC_apply_to_all_blocks(GC_check_heap_block, (word)0);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/gc/dbg_mlc.c [Boehm-GC],
Dave Love <=