fix stack index calculation when pushing operands

This commit is contained in:
Joel Dice 2008-04-29 14:24:08 -06:00
parent 4652b7aea0
commit 3fa3fd0796

View File

@ -1860,7 +1860,7 @@ popState(Context* c)
Stack*
stack(Context* c, Value* value, unsigned size, Stack* next)
{
return stack(c, value, size, (next ? next->index + size : 0), next);
return stack(c, value, size, (next ? next->index + next->size : 0), next);
}
void