Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index e5618a7ffede2aa7eaeb1639783547a19775e9c5..c033fd5a3e28d06d08b4dff5c9d38d2ad76b521e 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1062,6 +1062,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ push(eax); |
__ InvokeBuiltin(Builtins::TO_OBJECT, CALL_FUNCTION); |
__ bind(&done_convert); |
+ PrepareForBailoutForId(stmt->ToObjectId(), TOS_REG); |
__ push(eax); |
// Check for proxies. |
@@ -1083,6 +1084,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ bind(&call_runtime); |
__ push(eax); |
__ CallRuntime(Runtime::kGetPropertyNamesFast, 1); |
+ PrepareForBailoutForId(stmt->EnumId(), TOS_REG); |
__ cmp(FieldOperand(eax, HeapObject::kMapOffset), |
isolate()->factory()->meta_map()); |
__ j(not_equal, &fixed_array); |
@@ -1629,6 +1631,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
FastCloneShallowObjectStub stub(isolate(), properties_count); |
__ CallStub(&stub); |
} |
+ PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |
// If result_saved is true the result is on top of the stack. If |
// result_saved is false the result is in eax. |