Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 1d24a2bb14e10e0f2eea19ad25647ca8b2514fd4..7a2a0c5c64462d2cf3ab02a119c65c6242fb5b33 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -774,6 +774,7 @@ void FullCodeGenerator::VisitVariableDeclaration( |
__ Push(r5, r3); |
__ Push(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
__ CallRuntime(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |
@@ -827,6 +828,7 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
VisitForStackValue(declaration->fun()); |
PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
CallRuntimeWithOperands(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |