Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 3fb42ea33fd1ad6da0668a6cc54c21673d1be00b..472370558f88c6c2be71ca79d32f2bbdeb84b963 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -939,6 +939,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ bind(&convert); |
ToObjectStub stub(isolate()); |
__ CallStub(&stub); |
+ RestoreContext(); |
__ bind(&done_convert); |
PrepareForBailoutForId(stmt->ToObjectId(), BailoutState::TOS_REGISTER); |
__ push(eax); |