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 c7b095f75ebf48b9dbba89ef5c9bd68b95b02066..7f71afde119004db1f7646b0d8e637a0a9ac203a 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1425,8 +1425,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Push(r3, r2, r1, r0); |
__ CallRuntime(Runtime::kCreateObjectLiteral); |
} else { |
+ __ push(cp); |
FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); |
__ CallStub(&stub); |
+ __ pop(cp); |
} |
PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |