From 4fde4e10b29d4779189b81cf9c8a050593514aa3 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Sat, 1 Sep 2012 11:40:43 +0100 Subject: Compiling with a static checking level by default, doubling the speed of the cool variety. Copied from Perforce Change: 179157 ServerID: perforce.ravenbrook.com --- mps/code/mpm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mps/code/mpm.c') diff --git a/mps/code/mpm.c b/mps/code/mpm.c index 4f9af3f888c..f287f2cf964 100644 --- a/mps/code/mpm.c +++ b/mps/code/mpm.c @@ -23,10 +23,12 @@ SRCID(mpm, "$Id$"); /* CheckLevel -- Control check level * - * This controls the behaviour of Check methods (see impl.h.check). + * This controls the behaviour of Check methods (see check.h). */ -unsigned CheckLevel = CHECKLEVEL_INITIAL; +#ifdef CHECKLEVEL_DYNAMIC +unsigned CheckLevel = CHECKLEVEL_DYNAMIC; +#endif /* MPMCheck -- test MPM assumptions */ -- cgit v1.2.1