mirror of
https://github.com/corda/corda.git
synced 2025-05-11 13:03:08 +00:00
set popIndex for stack arguments in CallEvent constructor
This commit is contained in:
parent
c80eb51c17
commit
671fd1c0f9
@ -2263,6 +2263,10 @@ class CallEvent: public Event {
|
|||||||
target = read(c, footprintSizeInBytes(s->footprint),
|
target = read(c, footprintSizeInBytes(s->footprint),
|
||||||
1 << MemoryOperand, 0, frameIndex);
|
1 << MemoryOperand, 0, frameIndex);
|
||||||
frameIndex += s->footprint;
|
frameIndex += s->footprint;
|
||||||
|
|
||||||
|
if (stackArgumentFootprint == 0) {
|
||||||
|
popIndex = frameIndex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
addRead(c, this, s->value, target);
|
addRead(c, this, s->value, target);
|
||||||
index += s->footprint;
|
index += s->footprint;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user