Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 2d0a08bbdfc295255ac17868d0b0f143c765abee..776f8d9ddcebd20b734d2f002a5212b9b7f52bbf 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -752,6 +752,7 @@ void FullCodeGenerator::VisitVariableDeclaration( |
__ Push(r4, r2); |
__ Push(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
__ CallRuntime(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |
@@ -803,6 +804,7 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
VisitForStackValue(declaration->fun()); |
PushOperand(Smi::FromInt(variable->DeclarationPropertyAttributes())); |
CallRuntimeWithOperands(Runtime::kDeclareLookupSlot); |
+ PrepareForBailoutForId(proxy->id(), NO_REGISTERS); |
break; |
} |
} |