mirror of
https://github.com/corda/corda.git
synced 2025-01-23 21:08:48 +00:00
fix popIndex calculation in CallEvent ctor
This commit is contained in:
parent
8b6319fbc8
commit
11408dc2cd
@ -2189,13 +2189,13 @@ class CallEvent: public Event {
|
|||||||
++ frameIndex;
|
++ frameIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "%d %d\n",
|
popIndex
|
||||||
stackBefore ? stackBefore->index + 1 - stackArgumentFootprint : 0,
|
= c->alignedFrameSize
|
||||||
c->localFootprint);
|
+ c->parameterFootprint
|
||||||
|
- (stackBefore ? stackBefore->index + 1 - stackArgumentFootprint : 0)
|
||||||
|
- c->localFootprint;
|
||||||
|
|
||||||
popIndex = ::frameIndex
|
assert(c, static_cast<int>(popIndex) >= 0);
|
||||||
(c, (stackBefore ? stackBefore->index - stackArgumentFootprint : 0)
|
|
||||||
+ c->localFootprint);
|
|
||||||
|
|
||||||
saveLocals(c, this);
|
saveLocals(c, this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user