Commit 61d8ad7a authored by Gabor Greif's avatar Gabor Greif 💬 Committed by Simon Marlow
Browse files

use (GHC) idiomatic types

parent 11141d5f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment