Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 6d1ed37efff283cbaa3954d393f6b2119c0d06e7..bf7d36abcce375595bbd0ad28f9eaeecd68edbd6 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -1414,6 +1414,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
} else { |
FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); |
__ CallStub(&stub); |
+ __ Ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
} |
PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |