diff options
| author | Richard Kistruck | 2006-12-13 14:45:49 +0000 |
|---|---|---|
| committer | Richard Kistruck | 2006-12-13 14:45:49 +0000 |
| commit | 445b3e6f517aaa3b805847e35549bd96533f72b6 (patch) | |
| tree | 4a391e7433f27adaed7fa6347155f0323b6a9b0a /mps/code/mpm.c | |
| parent | ce9caabcf847a8a5ba96e551bba5e1098074bb27 (diff) | |
| download | emacs-445b3e6f517aaa3b805847e35549bd96533f72b6.tar.gz emacs-445b3e6f517aaa3b805847e35549bd96533f72b6.zip | |
Mps sort out baroque check macros (mainly config.h and check.h)
See job001248. Should be source-only change. Details:
CheckNONE,SHALLOW,DEEP -->> CheckLevelMINIMAL,SHALLOW,DEEP
[PROD_]CHECK_DEFAULT -->> [PROD_]CHECKLEVEL_INITIAL
CHECK[_NONE] -->> AVER_AND_CHECK[_NONE]
And add some comments.
Copied from Perforce
Change: 161210
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/mpm.c')
| -rw-r--r-- | mps/code/mpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mps/code/mpm.c b/mps/code/mpm.c index 247cbd05a56..3ce1aefe7ce 100644 --- a/mps/code/mpm.c +++ b/mps/code/mpm.c | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | SRCID(mpm, "$Id$"); | 18 | SRCID(mpm, "$Id$"); |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | #if defined(CHECK) | 21 | #if defined(AVER_AND_CHECK) |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | /* CheckLevel -- Control check level | 24 | /* CheckLevel -- Control check level |
| @@ -26,7 +26,7 @@ SRCID(mpm, "$Id$"); | |||
| 26 | * This controls the behaviour of Check methods (see impl.h.check). | 26 | * This controls the behaviour of Check methods (see impl.h.check). |
| 27 | */ | 27 | */ |
| 28 | 28 | ||
| 29 | unsigned CheckLevel = CHECK_DEFAULT; | 29 | unsigned CheckLevel = CHECKLEVEL_INITIAL; |
| 30 | 30 | ||
| 31 | 31 | ||
| 32 | /* MPMCheck -- test MPM assumptions */ | 32 | /* MPMCheck -- test MPM assumptions */ |
| @@ -123,7 +123,7 @@ Bool AlignCheck(Align align) | |||
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | 125 | ||
| 126 | #endif /* defined(CHECK) */ | 126 | #endif /* defined(AVER_AND_CHECK) */ |
| 127 | 127 | ||
| 128 | 128 | ||
| 129 | /* WordIsAligned -- test whether a word is aligned */ | 129 | /* WordIsAligned -- test whether a word is aligned */ |