Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 88bda0d4f2cbe39c473e6854023291cf7022d62f..4c18a87f2e2569684fa2e5a1a98ee54c4c223dd5 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1005,6 +1005,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ bind(&convert); |
ToObjectStub stub(isolate()); |
__ CallStub(&stub); |
+ RestoreContext(); |
__ bind(&done_convert); |
PrepareForBailoutForId(stmt->ToObjectId(), BailoutState::TOS_REGISTER); |
__ push(r0); |