diff options
author | Gabor Greif <ggreif@gmail.com> | 2012-01-07 11:25:05 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-09 12:57:47 +0000 |
commit | 61d8ad7a2c27fa3e14aed219e652a06041b27536 (patch) | |
tree | 7935690f569f55ae40bc489f789d110d8e44e0b3 /includes | |
parent | 11141d5fec234b25c91b509523892b2030fd6151 (diff) | |
download | haskell-61d8ad7a2c27fa3e14aed219e652a06041b27536.tar.gz |
use (GHC) idiomatic types
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/storage/GC.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h index fef8e00598..26c5593d66 100644 --- a/includes/rts/storage/GC.h +++ b/includes/rts/storage/GC.h @@ -67,7 +67,7 @@ typedef struct nursery_ { } nursery; typedef struct generation_ { - unsigned int no; // generation number + nat no; // generation number bdescr * blocks; // blocks in this gen memcount n_blocks; // number of blocks @@ -85,9 +85,9 @@ typedef struct generation_ { struct generation_ *to; // destination gen for live objects // stats information - unsigned int collections; - unsigned int par_collections; - unsigned int failed_promotions; + nat collections; + nat par_collections; + nat failed_promotions; // ------------------------------------ // Fields below are used during GC only |