mirror of
https://github.com/corda/corda.git
synced 2025-02-02 01:08:09 +00:00
fix thinko concerning stack resets in compile()
This commit is contained in:
parent
7640590153
commit
3909e3f032
@ -1781,13 +1781,11 @@ 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (Read* r = e->reads; r; r = r->eventNext) {
|
||||
r->value->source = readSource(c, e->stack, r, e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user