mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
Catch-up merge from the master sources to branch/2016-04-23/inst-methods.
Copied from Perforce Change: 192176 ServerID: perforce.ravenbrook.com
This commit is contained in:
commit
c07c5d6b8f
73 changed files with 941 additions and 504 deletions
|
|
@ -487,7 +487,7 @@ Res BufferReserve(Addr *pReturn, Buffer buffer, Size size)
|
|||
AVERT(Buffer, buffer);
|
||||
AVER(size > 0);
|
||||
AVER(SizeIsAligned(size, BufferPool(buffer)->alignment));
|
||||
AVER(BufferIsReady(buffer));
|
||||
AVER(BufferIsReady(buffer)); /* <design/check/#.common> */
|
||||
|
||||
/* Is there enough room in the unallocated portion of the buffer to */
|
||||
/* satisfy the request? If so, just increase the alloc marker and */
|
||||
|
|
@ -1136,7 +1136,7 @@ static void segBufAttach(Buffer buffer, Addr base, Addr limit,
|
|||
found = SegOfAddr(&seg, arena, base);
|
||||
AVER(found);
|
||||
AVER(segbuf->seg == NULL);
|
||||
AVER(SegBuffer(seg) == NULL);
|
||||
AVER(!SegHasBuffer(seg));
|
||||
AVER(SegBase(seg) <= base);
|
||||
AVER(limit <= SegLimit(seg));
|
||||
|
||||
|
|
@ -1153,11 +1153,8 @@ static void segBufAttach(Buffer buffer, Addr base, Addr limit,
|
|||
static void segBufDetach(Buffer buffer)
|
||||
{
|
||||
SegBuf segbuf = MustBeA(SegBuf, buffer);
|
||||
Seg seg;
|
||||
|
||||
seg = segbuf->seg;
|
||||
AVER(seg != NULL);
|
||||
SegSetBuffer(seg, NULL);
|
||||
Seg seg = segbuf->seg;
|
||||
SegUnsetBuffer(seg);
|
||||
segbuf->seg = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue