set popIndex for stack arguments in CallEvent constructor

This commit is contained in:
Joel Dice 2008-11-11 11:56:23 -07:00
parent c80eb51c17
commit 671fd1c0f9

View File

@ -2263,6 +2263,10 @@ class CallEvent: public Event {
target = read(c, footprintSizeInBytes(s->footprint),
1 << MemoryOperand, 0, frameIndex);
frameIndex += s->footprint;
if (stackArgumentFootprint == 0) {
popIndex = frameIndex;
}
}
addRead(c, this, s->value, target);
index += s->footprint;