Chromium Code Reviews| Index: src/arm/lithium-arm.cc |
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
| index 417927f51ec127ab36bc33e3175fde79f94b9c6b..4c68296022c7ff71118501fd4d5546bf54e0e19c 100644 |
| --- a/src/arm/lithium-arm.cc |
| +++ b/src/arm/lithium-arm.cc |
| @@ -1015,6 +1015,10 @@ LEnvironment* LChunkBuilder::CreateEnvironment(HEnvironment* hydrogen_env) { |
| outer); |
| int argument_index = 0; |
| for (int i = 0; i < value_count; ++i) { |
| + if (i >= hydrogen_env->parameter_count() && |
|
Kevin Millikin (Chromium)
2011/05/06 12:29:45
if (hydrogen_env->is_special_index(i)) continue;
|
| + i < hydrogen_env->parameter_count() + hydrogen_env->specials_count()) { |
| + continue; |
| + } |
| HValue* value = hydrogen_env->values()->at(i); |
| LOperand* op = NULL; |
| if (value->IsArgumentsObject()) { |