fix thinko concerning stack resets in compile()

This commit is contained in:
Joel Dice 2008-04-29 17:18:28 -06:00
parent 7640590153
commit 3909e3f032

View File

@ -1781,10 +1781,8 @@ compile(Context* c)
for (Stack* s = e->stack; s; s = s->next) {
if (s->value->sites) {
assert(c, s->value->sites->next == 0);
if (s->value->reads) {
expect(c, s->value->sites->tryAcquire
(c, 0, s->size * BytesPerWord, s->value));
}
expect(c, s->value->sites->tryAcquire
(c, 0, s->size * BytesPerWord, s->value));
}
}
}