| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index a5c96b01fabd527c94689afd677d0247718e7ec4..51e2268234956a62d153254ef1eb010a11edcec5 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -394,7 +394,11 @@ void LCodeGen::WriteTranslation(LEnvironment* environment,
|
|
|
| WriteTranslation(environment->outer(), translation);
|
| int closure_id = DefineDeoptimizationLiteral(environment->closure());
|
| - translation->BeginFrame(environment->ast_id(), closure_id, height);
|
| + if (environment->is_arguments_adaptor()) {
|
| + translation->BeginArgumentsAdaptorFrame(closure_id, translation_size);
|
| + } else {
|
| + translation->BeginFrame(environment->ast_id(), closure_id, height);
|
| + }
|
| for (int i = 0; i < translation_size; ++i) {
|
| LOperand* value = environment->values()->at(i);
|
| // spilled_registers_ and spilled_double_registers_ are either
|
|
|