mirror of
https://github.com/corda/corda.git
synced 2025-02-08 20:10:22 +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) {
|
for (Stack* s = e->stack; s; s = s->next) {
|
||||||
if (s->value->sites) {
|
if (s->value->sites) {
|
||||||
assert(c, s->value->sites->next == 0);
|
assert(c, s->value->sites->next == 0);
|
||||||
if (s->value->reads) {
|
expect(c, s->value->sites->tryAcquire
|
||||||
expect(c, s->value->sites->tryAcquire
|
(c, 0, s->size * BytesPerWord, s->value));
|
||||||
(c, 0, s->size * BytesPerWord, s->value));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user