mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-15 11:21:19 -07:00
Trying to create a freelist with too-small alignment is a static programming error, not a dynamic failure condition, so aver instead of returning resparam. (see job003485).
Copied from Perforce Change: 185426 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
4d29cf2757
commit
a595c2ff20
1 changed files with 1 additions and 2 deletions
|
|
@ -187,8 +187,7 @@ static Res freelistInit(Land land, ArgList args)
|
|||
return res;
|
||||
|
||||
/* See <design/freelist/#impl.grain> */
|
||||
if (!AlignIsAligned(LandAlignment(land), freelistMinimumAlignment))
|
||||
return ResPARAM;
|
||||
AVER(AlignIsAligned(LandAlignment(land), freelistMinimumAlignment));
|
||||
|
||||
fl = freelistOfLand(land);
|
||||
fl->list = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue