aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/pool.c
diff options
context:
space:
mode:
authorRichard Brooksby2012-08-21 22:48:11 +0100
committerRichard Brooksby2012-08-21 22:48:11 +0100
commit4009b8a55918aa368510106468e153039986fffc (patch)
tree46efac076c43461993fb5038fba438fea6e9fd49 /mps/code/pool.c
parentab85e6ff329c0237cbe3160f2e10b70ab9c0a182 (diff)
downloademacs-4009b8a55918aa368510106468e153039986fffc.tar.gz
emacs-4009b8a55918aa368510106468e153039986fffc.zip
Abolishing eventgen.pl. event structures are now expanded by the preprocessor.
Abolishing event formats. Each event now has its own structure. Event parameters are now written directly into the event buffer, rather than being copied twice. Copied from Perforce Change: 179010 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/pool.c')
-rw-r--r--mps/code/pool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mps/code/pool.c b/mps/code/pool.c
index e2578cf3497..14c687bbdf7 100644
--- a/mps/code/pool.c
+++ b/mps/code/pool.c
@@ -250,7 +250,7 @@ void PoolFinish(Pool pool)
250 RingFinish(&pool->bufferRing); 250 RingFinish(&pool->bufferRing);
251 RingFinish(&pool->arenaRing); 251 RingFinish(&pool->arenaRing);
252 252
253 EVENT_P(PoolFinish, pool); 253 EVENT1(PoolFinish, pool);
254} 254}
255 255
256 256
@@ -311,7 +311,7 @@ Res PoolAlloc(Addr *pReturn, Pool pool, Size size,
311 pool->fillMutatorSize += size; 311 pool->fillMutatorSize += size;
312 ArenaGlobals(PoolArena(pool))->fillMutatorSize += size; 312 ArenaGlobals(PoolArena(pool))->fillMutatorSize += size;
313 313
314 EVENT_PAW(PoolAlloc, pool, *pReturn, size); 314 EVENT3(PoolAlloc, pool, *pReturn, size);
315 315
316 return ResOK; 316 return ResOK;
317} 317}
@@ -328,7 +328,7 @@ void PoolFree(Pool pool, Addr old, Size size)
328 AVER(size > 0); 328 AVER(size > 0);
329 (*pool->class->free)(pool, old, size); 329 (*pool->class->free)(pool, old, size);
330 330
331 EVENT_PAW(PoolFree, pool, old, size); 331 EVENT3(PoolFree, pool, old, size);
332} 332}
333 333
334 334