| Index: src/lithium.cc
|
| diff --git a/src/lithium.cc b/src/lithium.cc
|
| index 432e81b80be6a4d00f8de6b819a86a85534cb53d..966afa9c0b881f16d5c69b5748250707d5dd1d84 100644
|
| --- a/src/lithium.cc
|
| +++ b/src/lithium.cc
|
| @@ -372,8 +372,7 @@ int LChunk::GetParameterStackSlot(int index) const {
|
| // shift all parameter indexes down by the number of parameters, and
|
| // make sure they end up negative so they are distinguishable from
|
| // spill slots.
|
| - int result = index - info()->num_parameters() - 1;
|
| -
|
| + int result = index - info()->scope()->num_parameters() - 1;
|
| ASSERT(result < 0);
|
| return result;
|
| }
|
|
|