aboutsummaryrefslogtreecommitdiffstats
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman1996-04-07 16:44:38 +0000
committerRichard M. Stallman1996-04-07 16:44:38 +0000
commit40f3f04b977a4ba1c43f0847a5643013745a3cfc (patch)
tree91c97fc60c11b9857d10b137e47ce9d11542cbe0 /src/ralloc.c
parent748dc60a0ec333b98876303c14c102f2642a23dd (diff)
downloademacs-40f3f04b977a4ba1c43f0847a5643013745a3cfc.tar.gz
emacs-40f3f04b977a4ba1c43f0847a5643013745a3cfc.zip
(r_alloc_check): Don't check alignment of h->start.
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index dca5c2c6004..179fd314928 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -1164,7 +1164,11 @@ r_alloc_check ()
1164 { 1164 {
1165 assert (h->prev == ph); 1165 assert (h->prev == ph);
1166 assert ((POINTER) ROUNDUP (h->end) == h->end); 1166 assert ((POINTER) ROUNDUP (h->end) == h->end);
1167#if 0 /* ??? The code in ralloc.c does not really try to ensure
1168 the heap start has any sort of alignment.
1169 Perhaps it should. */
1167 assert ((POINTER) MEM_ROUNDUP (h->start) == h->start); 1170 assert ((POINTER) MEM_ROUNDUP (h->start) == h->start);
1171#endif
1168 assert ((POINTER) MEM_ROUNDUP (h->bloc_start) == h->bloc_start); 1172 assert ((POINTER) MEM_ROUNDUP (h->bloc_start) == h->bloc_start);
1169 assert (h->start <= h->bloc_start && h->bloc_start <= h->end); 1173 assert (h->start <= h->bloc_start && h->bloc_start <= h->end);
1170 1174