mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Removing a note about initialization order that no longer applies.
Copied from Perforce Change: 191305 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
65a770e91f
commit
cb620cf755
3 changed files with 3 additions and 11 deletions
|
|
@ -231,15 +231,7 @@ Bool ArenaCheck(Arena arena)
|
|||
}
|
||||
|
||||
|
||||
/* ArenaAbsInit -- initialize the generic part of the arena
|
||||
*
|
||||
* .init.caller: ArenaInit is called by class->init (which is called
|
||||
* by ArenaCreate). The initialization must proceed in this order, as
|
||||
* opposed to class->init being called by ArenaInit, which would
|
||||
* correspond to the initialization order for pools and other objects,
|
||||
* because the memory for the arena structure is not available until
|
||||
* it has been allocated by the arena class.
|
||||
*/
|
||||
/* ArenaAbsInit -- initialize the generic part of the arena */
|
||||
|
||||
static Res ArenaAbsInit(Arena arena, Size grainSize, ArgList args)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ static Res ClientArenaCreate(Arena *arenaReturn, ArgList args)
|
|||
return ResMEMORY;
|
||||
|
||||
arena = CouldBeA(AbstractArena, clientArena);
|
||||
/* <code/arena.c#init.caller> */
|
||||
|
||||
res = NextMethod(Arena, ClientArena, init)(arena, grainSize, args);
|
||||
if (res != ResOK)
|
||||
goto failSuperInit;
|
||||
|
|
|
|||
|
|
@ -553,7 +553,7 @@ static Res VMArenaCreate(Arena *arenaReturn, ArgList args)
|
|||
vmArena = (VMArena)VMBase(vm);
|
||||
|
||||
arena = VMArena2Arena(vmArena);
|
||||
/* <code/arena.c#init.caller> */
|
||||
|
||||
res = NextMethod(Arena, VMArena, init)(arena, grainSize, args);
|
||||
if (res != ResOK)
|
||||
goto failArenaInit;
|
||||
|
|
|
|||
Loading…
Reference in a new issue