annotate lphobos/gcstats.d @ 978:6a32d2e18175
Fix a latent bug in the asm code.
I think that technically, using "*m0" instead of "*0" allows LLVM to pick
between using the same memory as output 0 and using a new memory location.
(So far I haven't been able to construct a testcase that actually breaks
because of this, though)
author |
Frits van Bommel <fvbommel wxs.nl> |
date |
Wed, 18 Feb 2009 03:38:12 +0100 |
parents |
c53b6e3fe49a |
children |
|
rev |
line source |
1
|
1 // Copyright (c) 1999-2002 by Digital Mars
|
|
2 // All Rights Reserved
|
|
3 // written by Walter Bright
|
|
4 // www.digitalmars.com
|
|
5
|
|
6 struct GCStats
|
|
7 {
|
|
8 size_t poolsize; // total size of pool
|
|
9 size_t usedsize; // bytes allocated
|
|
10 size_t freeblocks; // number of blocks marked FREE
|
|
11 size_t freelistsize; // total of memory on free lists
|
|
12 size_t pageblocks; // number of blocks marked PAGE
|
|
13 }
|
|
14
|
|
15
|