We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6651dec commit d92239cCopy full SHA for d92239c
mps/code/amcss.c
@@ -95,13 +95,12 @@ static void report(void)
95
96
static mps_addr_t make(size_t rootsCount)
97
{
98
- static unsigned long calls = 0;
+ static volatile unsigned long calls = 0; /* for use from debugger */
99
size_t length = rnd() % (scale * avLEN);
100
size_t size = (length+2) * sizeof(mps_word_t);
101
mps_addr_t p;
102
mps_res_t res;
103
++ calls;
104
- (void)calls; /* suppress unused warning: we want to look at this from debugger */
105
106
do {
107
MPS_RESERVE_BLOCK(res, p, ap, size);
0 commit comments