mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix thinko in appendCombine
This commit is contained in:
parent
d7fc4aa438
commit
21c5eb2d9e
@ -1586,6 +1586,8 @@ appendCombine(Context* c, BinaryOperation type, unsigned size, Value* first,
|
||||
&procedure);
|
||||
|
||||
if (procedure) {
|
||||
secondTarget->value = 0;
|
||||
|
||||
Stack* oldStack = c->state->stack;
|
||||
|
||||
::push(c, size, second);
|
||||
@ -1594,7 +1596,6 @@ appendCombine(Context* c, BinaryOperation type, unsigned size, Value* first,
|
||||
Stack* argumentStack = c->state->stack;
|
||||
c->state->stack = oldStack;
|
||||
|
||||
Value* result = value(c);
|
||||
appendCall(c, value(c, constantSite(c, procedure)), Compiler::Indirect,
|
||||
0, result, size, argumentStack, 2);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user