From 833f5bf257e3acff6162176efc70f25ef005b037 Mon Sep 17 00:00:00 2001 From: Nick Barnes Date: Tue, 14 May 2002 13:06:13 +0100 Subject: Improve treatment of dylan formats: keep common code in fmtdy.c, header-specific code in fmthe.c, the null format in fmtno.[ch], and split out the prototypes for the test functions into fmtdytst.h. Copied from Perforce Change: 29145 ServerID: perforce.ravenbrook.com --- mps/code/amcss.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mps/code/amcss.c') diff --git a/mps/code/amcss.c b/mps/code/amcss.c index 34983f61783..7b1308edb5f 100644 --- a/mps/code/amcss.c +++ b/mps/code/amcss.c @@ -5,6 +5,7 @@ */ #include "fmtdy.h" +#include "fmtdytst.h" #include "testlib.h" #include "mpscamc.h" #include "mpsavm.h" @@ -50,7 +51,7 @@ static void enable(mps_arena_t arena) static void report(mps_arena_t arena) { mps_message_t message; - + while (mps_message_get(&message, arena, mps_message_type_gc())) { size_t live, condemned, not_condemned; @@ -163,7 +164,7 @@ static void *test(void *arg, size_t s) break; } } while(1); - + report(arena); for(r = 0; r < exactRootsCOUNT; ++r) cdie(exactRoots[r] == objNULL || -- cgit v1.2.1