Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 2f8b2075a7c592601d388a1b470b9aca3d49a018..124557544e95c9499291edb19ab70a37da33f7cb 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -809,6 +809,7 @@ void FullCodeGenerator::VisitVariableDeclaration( |
__ Push(a2, a0); |
__ Push(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
__ CallRuntime(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |
@@ -866,6 +867,7 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
VisitForStackValue(declaration->fun()); |
PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
CallRuntimeWithOperands(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |