diff options
| author | Richard Brooksby | 2012-09-25 23:34:20 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2012-09-25 23:34:20 +0100 |
| commit | cb8f0ea514ac0b2317c2fc2b76e365895184e1a0 (patch) | |
| tree | 4f7079ef49652cb96801a066e435696d837e2794 /mps/code | |
| parent | c6bd70744cbb08eb97d14a5db11ea4c55413b79a (diff) | |
| download | emacs-cb8f0ea514ac0b2317c2fc2b76e365895184e1a0.tar.gz emacs-cb8f0ea514ac0b2317c2fc2b76e365895184e1a0.zip | |
Removing unnecessary unused declarations since changelist 179690.
Copied from Perforce
Change: 179691
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/buffer.c | 4 | ||||
| -rw-r--r-- | mps/code/cbs.c | 1 | ||||
| -rw-r--r-- | mps/code/poolamc.c | 2 | ||||
| -rw-r--r-- | mps/code/seg.c | 2 |
4 files changed, 0 insertions, 9 deletions
diff --git a/mps/code/buffer.c b/mps/code/buffer.c index b33c08dc239..2128ffda0cf 100644 --- a/mps/code/buffer.c +++ b/mps/code/buffer.c | |||
| @@ -874,10 +874,6 @@ Bool BufferTrip(Buffer buffer, Addr p, Size size) | |||
| 874 | clientClass = (Addr)0; | 874 | clientClass = (Addr)0; |
| 875 | } | 875 | } |
| 876 | EVENT4(BufferCommit, buffer, p, size, clientClass); | 876 | EVENT4(BufferCommit, buffer, p, size, clientClass); |
| 877 | /* Of course, it's not _really_ unused unless you're not */ | ||
| 878 | /* using telemetry. This is a HACK @@@@. It should be */ | ||
| 879 | /* removed when telemetry is fixed to use its arguments. */ | ||
| 880 | UNUSED(clientClass); | ||
| 881 | } | 877 | } |
| 882 | return TRUE; | 878 | return TRUE; |
| 883 | } | 879 | } |
diff --git a/mps/code/cbs.c b/mps/code/cbs.c index d5958990c08..a9cb0d0b087 100644 --- a/mps/code/cbs.c +++ b/mps/code/cbs.c | |||
| @@ -314,7 +314,6 @@ Res CBSInit(Arena arena, CBS cbs, void *owner, | |||
| 314 | 314 | ||
| 315 | AVERT(CBS, cbs); | 315 | AVERT(CBS, cbs); |
| 316 | EVENT2(CBSInit, cbs, owner); | 316 | EVENT2(CBSInit, cbs, owner); |
| 317 | UNUSED(owner); /* @@@@ hack: unused in non-event varieties */ | ||
| 318 | CBSLeave(cbs); | 317 | CBSLeave(cbs); |
| 319 | return ResOK; | 318 | return ResOK; |
| 320 | } | 319 | } |
diff --git a/mps/code/poolamc.c b/mps/code/poolamc.c index 5901c098512..90b33ef8f68 100644 --- a/mps/code/poolamc.c +++ b/mps/code/poolamc.c | |||
| @@ -1444,8 +1444,6 @@ static Res amcScanNailedOnce(Bool *totalReturn, Bool *moreReturn, | |||
| 1444 | Bool total = TRUE; | 1444 | Bool total = TRUE; |
| 1445 | Size bytesScanned = 0; | 1445 | Size bytesScanned = 0; |
| 1446 | 1446 | ||
| 1447 | UNUSED(amc); /* Actually only unused when telemetry is off. @@@@ */ | ||
| 1448 | |||
| 1449 | EVENT3(AMCScanBegin, amc, seg, ss); /* @@@@ use own event */ | 1447 | EVENT3(AMCScanBegin, amc, seg, ss); /* @@@@ use own event */ |
| 1450 | 1448 | ||
| 1451 | format = pool->format; | 1449 | format = pool->format; |
diff --git a/mps/code/seg.c b/mps/code/seg.c index 051abc03c79..f12b9fdcbc8 100644 --- a/mps/code/seg.c +++ b/mps/code/seg.c | |||
| @@ -650,7 +650,6 @@ Bool SegCheck(Seg seg) | |||
| 650 | TRACT_TRACT_FOR(tract, addr, arena, seg->firstTract, seg->limit) { | 650 | TRACT_TRACT_FOR(tract, addr, arena, seg->firstTract, seg->limit) { |
| 651 | Seg trseg = NULL; /* suppress compiler warning */ | 651 | Seg trseg = NULL; /* suppress compiler warning */ |
| 652 | 652 | ||
| 653 | UNUSED(trseg); /* @@@@ unused in hot varieties */ | ||
| 654 | CHECKL(TractCheck(tract)); /* <design/check/#type.no-sig> */ | 653 | CHECKL(TractCheck(tract)); /* <design/check/#type.no-sig> */ |
| 655 | CHECKL(TRACT_SEG(&trseg, tract) && (trseg == seg)); | 654 | CHECKL(TRACT_SEG(&trseg, tract) && (trseg == seg)); |
| 656 | CHECKL(TractWhite(tract) == seg->white); | 655 | CHECKL(TractWhite(tract) == seg->white); |
| @@ -1258,7 +1257,6 @@ static void gcSegSetWhite(Seg seg, TraceSet white) | |||
| 1258 | TRACT_TRACT_FOR(tract, addr, arena, seg->firstTract, limit) { | 1257 | TRACT_TRACT_FOR(tract, addr, arena, seg->firstTract, limit) { |
| 1259 | Seg trseg = NULL; /* suppress compiler warning */ | 1258 | Seg trseg = NULL; /* suppress compiler warning */ |
| 1260 | 1259 | ||
| 1261 | UNUSED(trseg); /* @@@@ unused in hot varieties */ | ||
| 1262 | AVER_CRITICAL(TractCheck(tract)); /* <design/check/#type.no-sig> */ | 1260 | AVER_CRITICAL(TractCheck(tract)); /* <design/check/#type.no-sig> */ |
| 1263 | AVER_CRITICAL(TRACT_SEG(&trseg, tract) && (trseg == seg)); | 1261 | AVER_CRITICAL(TRACT_SEG(&trseg, tract) && (trseg == seg)); |
| 1264 | TractSetWhite(tract, white); | 1262 | TractSetWhite(tract, white); |