| Index: src/lithium.cc | 
| diff --git a/src/lithium.cc b/src/lithium.cc | 
| index 966afa9c0b881f16d5c69b5748250707d5dd1d84..432e81b80be6a4d00f8de6b819a86a85534cb53d 100644 | 
| --- a/src/lithium.cc | 
| +++ b/src/lithium.cc | 
| @@ -372,7 +372,8 @@ 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()->scope()->num_parameters() - 1; | 
| +  int result = index - info()->num_parameters() - 1; | 
| + | 
| ASSERT(result < 0); | 
| return result; | 
| } | 
|  |