| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index 798f11de7068eac47e2c82e87de867b68f7ddcb9..648566ccf8d5fa86122f8b73f99ecbe6d5a9dfa6 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -810,6 +810,7 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| __ Push(a2, a0);
|
| __ Push(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| __ CallRuntime(Runtime::kDeclareLookupSlot);
|
| + PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| break;
|
| }
|
| }
|
| @@ -867,6 +868,7 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| VisitForStackValue(declaration->fun());
|
| PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes()));
|
| CallRuntimeWithOperands(Runtime::kDeclareLookupSlot);
|
| + PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| break;
|
| }
|
| }
|
|
|