mirror of
https://github.com/corda/corda.git
synced 2025-03-12 23:44:13 +00:00
fix assertion in MyCompiler::peek
This commit is contained in:
parent
8dca14af74
commit
a11d018dc2
@ -4497,7 +4497,10 @@ class MyCompiler: public Compiler {
|
|||||||
for (unsigned i = index; i > 0; --i) {
|
for (unsigned i = index; i > 0; --i) {
|
||||||
s = s->next;
|
s = s->next;
|
||||||
}
|
}
|
||||||
assert(&c, footprint == 1 or (s->value->high and footprint == 2));
|
assert(&c, footprint == 1 or
|
||||||
|
(c.stack->value->high == c.stack->next->value
|
||||||
|
and ((BytesPerWord == 8) xor (c.stack->value->high != 0))));
|
||||||
|
|
||||||
return s->value;
|
return s->value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user