mirror of
https://github.com/corda/corda.git
synced 2025-01-22 04:18:31 +00:00
fix thinko concerning stack resets in compile()
This commit is contained in:
parent
7640590153
commit
3909e3f032
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user