mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 875748. (r=djvj)
This commit is contained in:
parent
b4bb75b22e
commit
6c5ae9572f
@ -6980,7 +6980,7 @@ IonBuilder::jsop_rest()
|
||||
// checking here.
|
||||
MConstant *index;
|
||||
for (unsigned i = numFormals; i < numActuals; i++) {
|
||||
index = MConstant::New(Int32Value(i));
|
||||
index = MConstant::New(Int32Value(i - numFormals));
|
||||
current->add(index);
|
||||
MStoreElement *store = MStoreElement::New(elements, index, inlinedArguments_[i],
|
||||
/* needsHoleCheck = */ false);
|
||||
|
Loading…
Reference in New Issue
Block a user