mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
fix thinko in MyCompiler::pushed
This commit is contained in:
parent
8baa2bbd87
commit
fb06f7634c
@ -1972,8 +1972,9 @@ class MyCompiler: public Compiler {
|
||||
|
||||
virtual void pushed(unsigned count) {
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
Value* a = value(&c);
|
||||
::push(&c, BytesPerWord, a);
|
||||
Value* v = value(&c);
|
||||
c.state->stack = ::stack(&c, v, 1, c.state->stack);
|
||||
c.state->stack->pushed = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user