Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 13682666148e85c2ebfd68dc0239ca6be1f61439..0a8e1ca3b2fe63fa088cd8cb2177e4dca9cc2fd3 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1124,6 +1124,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ Push(x0); |
__ InvokeBuiltin(Builtins::TO_OBJECT, CALL_FUNCTION); |
__ Bind(&done_convert); |
+ PrepareForBailoutForId(stmt->ToObjectId(), TOS_REG); |
__ Push(x0); |
// Check for proxies. |
@@ -1147,6 +1148,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ Bind(&call_runtime); |
__ Push(x0); // Duplicate the enumerable object on the stack. |
__ CallRuntime(Runtime::kGetPropertyNamesFast, 1); |
+ PrepareForBailoutForId(stmt->EnumId(), TOS_REG); |
// If we got a map from the runtime call, we can do a fast |
// modification check. Otherwise, we got a fixed array, and we have |
@@ -1678,6 +1680,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 x0. |